summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorZhi Zhang <willzzhang@tencent.com>2019-03-22 14:16:33 +0800
committerIlya Dryomov <idryomov@gmail.com>2019-05-07 19:22:36 +0200
commit1b52931ca9b5b87e237c591f99201b6254c00809 (patch)
treef5c5638dd718a54547c5fd19759496d806d418a4 /fs/ceph/super.h
parente93c9c99a629c61837d5a7fc2120cd2b6c70dbdd (diff)
downloadlinux-stable-1b52931ca9b5b87e237c591f99201b6254c00809.tar.gz
linux-stable-1b52931ca9b5b87e237c591f99201b6254c00809.tar.bz2
linux-stable-1b52931ca9b5b87e237c591f99201b6254c00809.zip
ceph: remove duplicated filelock ref increase
Inode i_filelock_ref is increased in ceph_lock or ceph_flock, but it is increased again in ceph_lock_message. This results in this ref won't become zero. If CEPH_I_ERROR_FILELOCK flag is set in remove_session_caps once, this flag can't be cleared even if client is back to normal. So further file lock will return EIO. Signed-off-by: Zhi Zhang <zhang.david2011@gmail.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions