ceph: Don't update i_max_size when handling non-auth cap
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 19 Nov 2012 02:49:04 +0000 (10:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:49 +0000 (08:46 -0800)
commit4899444757a896e3d38650e8fe11b50e2eecc88f
tree62279d2b6acab3f55f42369bd18b85cc40224374
parentf89f14aff0007cbed2648b10e78982a95802962a
ceph: Don't update i_max_size when handling non-auth cap

(cherry picked from commit 5e62ad30157d0da04cf40c6d1a2f4bc840948b9c)

The cap from non-auth mds doesn't have a meaningful max_size value.

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/caps.c