]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ceph: Fix __ceph_do_pending_vmtruncate
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 19 Nov 2012 02:49:08 +0000 (10:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:50 +0000 (08:46 -0800)
commit608601fb5b6ea8b4dfbceea54c4e67638eaaabf5
treef660ec0653f43bc2c95531f02f390eb7c687c183
parent8ba21a9fbaff1ac20dcfe7d8bf6a6c24d7c80546
ceph: Fix __ceph_do_pending_vmtruncate

(cherry picked from commit a85f50b6ef93fbbb2ae932ce9b2376509d172796)

we should set i_truncate_pending to 0 after page cache is truncated
to i_truncate_size

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/inode.c