commit | 3f99969f42300e52779ae0656678c2534097f2ea | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Fri Mar 01 10:57:54 2013 +0800 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:16:11 2013 -0700 |
tree | b3b07bc105f3c966c8a50e0d2e3bac5e5f3b4eeb | |
parent | 6070e0c1e2b515ad5edc2f8224031b051bd08109 [diff] |
ceph: acquire i_mutex in __ceph_do_pending_vmtruncate 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>