From: Yan, Zheng Date: Fri, 1 Mar 2013 02:57:54 +0000 (+0800) Subject: ceph: acquire i_mutex in __ceph_do_pending_vmtruncate X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~240 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f99969f42300e52779ae0656678c2534097f2ea;p=pandora-kernel.git 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 Reviewed-by: Greg Farnum --- Reading git-diff-tree failed