ceph: queue vmtruncate if necessary when handing cap grant/revoke
commitc6bcda6f525129b1df169f77d96a4b0972e1ecb1
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 11 Apr 2014 02:18:07 +0000 (11 10:18 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:51 +0000 (6 09:29 +0800)
treee9c18bf0c22da7e223bf825d91534c004b84d480
parent979d4c1895474aafa473f441846dd3b6f7276202
ceph: queue vmtruncate if necessary when handing cap grant/revoke

cap grant/revoke message from non-auth MDS can update inode's size
and truncate_seq/truncate_size. (the message arrives before auth
MDS's cap trunc message)

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/caps.c