ceph: make sure write caps are registered with auth MDS
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 8 Mar 2014 01:51:45 +0000 (09:51 +0800)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:05 +0000 (21:07 -0700)
commita255060451dcb416c8097218b40d86d613d84bfc
treec3dc990fc565b01d586041093d007e4493c2a7f4
parentc137a32a408af7a5635f3d0c5ddd34d270af9a3b
ceph: make sure write caps are registered with auth MDS

Only auth MDS can issue write caps to clients, so don't consider
write caps registered with non-auth MDS as valid.

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