ceph: acquire i_mutex in __ceph_do_pending_vmtruncate
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 1 Mar 2013 02:57:54 +0000 (10:57 +0800)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:11 +0000 (21:16 -0700)
make __ceph_do_pending_vmtruncate() acquire the i_mutex if the caller
does not hold the i_mutex, so ceph_aio_read() can call safely.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>

No differences found