diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-07-25 15:16:45 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 13:06:24 +0300 |
commit | ff5d913dfc7142974eb1694d5fd6284658e46bc6 (patch) | |
tree | e32766142b247cb0ce44bfc35421d84fad567bb3 /fs/ceph/super.c | |
parent | d468e729b74eafdfc8306ca8f77e1f26478d67da (diff) | |
download | linux-ff5d913dfc7142974eb1694d5fd6284658e46bc6.tar.xz |
ceph: return -EIO if read/write against filp that lost file locks
After mds evicts session, file locks get lost sliently. It's not safe to
let programs continue to do read/write.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions