aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 2d0141e95c88..8072aefc427c 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -2390,7 +2390,7 @@ static void handle_cap_grant(struct inode *inode, struct ceph_mds_caps *grant,
2390 &atime); 2390 &atime);
2391 2391
2392 /* max size increase? */ 2392 /* max size increase? */
2393 if (max_size != ci->i_max_size) { 2393 if (ci->i_auth_cap == cap && max_size != ci->i_max_size) {
2394 dout("max_size %lld -> %llu\n", ci->i_max_size, max_size); 2394 dout("max_size %lld -> %llu\n", ci->i_max_size, max_size);
2395 ci->i_max_size = max_size; 2395 ci->i_max_size = max_size;
2396 if (max_size >= ci->i_wanted_max_size) { 2396 if (max_size >= ci->i_wanted_max_size) {