ceph: avoid iput() while holding spinlock in ceph_dir_fsync
authorSage Weil <sage@newdream.net>
Tue, 3 Jan 2012 18:09:07 +0000 (10:09 -0800)
committerSage Weil <sage@newdream.net>
Tue, 10 Jan 2012 16:57:02 +0000 (08:57 -0800)
commit2ff179e650e95c2b21841b21dc46dc2edefd04cd
tree9b15ba73039053111d73da96227e1589b3f11ff2
parentee6b1baf67591b6d7ce1a6a07544343433d5ec9e
ceph: avoid iput() while holding spinlock in ceph_dir_fsync

ceph_mdsc_put_request() can call iput(), which can sleep.  Don't do that.

Fixes: #1812
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c