ceph: fix trim caps
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 22 Nov 2013 05:56:24 +0000 (13:56 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 05:29:32 +0000 (13:29 +0800)
- don't trim auth cap if there are flusing caps
- don't trim auth cap if any 'write' cap is wanted
- allow trimming non-auth cap even if the inode is dirty

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

Simple merge