ceph: update i_requested_max_size only when sending cap msg to auth mds
authorYan, Zheng <zyan@redhat.com>
Thu, 5 Mar 2020 12:21:03 +0000 (20:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:42 +0000 (12:42 +0200)
commit11ba6b9ceeb4e20e0610ad249f9187dba412f787
tree2e2a4c0320493fe6a5c33cc4a092c1a637b7b47f
parent135e671e54fcb46cb4f8b7be9673d3ea7b8ac315
ceph: update i_requested_max_size only when sending cap msg to auth mds

Non-auth mds can't do anything to 'update max' cap message.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c