summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-04-12 10:11:10 +0200
committerSage Weil <sage@inktank.com>2013-05-02 06:18:53 +0200
commit37505d5768b9389a5ef7bc1efa465d4484a5462e (patch)
tree208daa8785fe4847061a1dafee58ff32b5b861e6 /fs/mount.h
parentlibceph: change how "safe" callback is used (diff)
downloadlinux-37505d5768b9389a5ef7bc1efa465d4484a5462e.tar.xz
linux-37505d5768b9389a5ef7bc1efa465d4484a5462e.zip
ceph: take i_mutex before getting Fw cap
There is deadlock as illustrated bellow. The fix is taking i_mutex before getting Fw cap reference. write truncate MDS --------------------- -------------------- -------------- get Fw cap lock i_mutex lock i_mutex (blocked) request setattr.size -> <- revoke Fw cap Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions