ceph: avoid releasing caps that are being used
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 17 Apr 2014 00:02:02 +0000 (08:02 +0800)
committerSage Weil <sage@inktank.com>
Mon, 28 Apr 2014 19:55:01 +0000 (12:55 -0700)
commitfd7b95cd1b58171a0b931b2063729a032bec4ac2
treee27db67ee63aee9803eb4cf7a24207fa58f0cdfc
parent0a8a70f96fe1bd3e07c15bb86fd247e76102398a
ceph: avoid releasing caps that are being used

To avoid releasing caps that are being used, encode_inode_release()
should send implemented caps to MDS.

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