summaryrefslogtreecommitdiff
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2022-10-18 09:03:29 +0800
committerIlya Dryomov <idryomov@gmail.com>2022-12-12 19:15:39 +0100
commite4b731ccb0975fd97283e0c0d9841a89063ec31a (patch)
tree926ba9b522c82bc1afaea56de21615b2bbf78cd9 /fs/ceph/addr.c
parent830b3c68c1fb1e9176028d02ef86f3cf76aa2476 (diff)
ceph: remove useless session parameter for check_caps()
The session parameter makes no sense any more. Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/addr.c')
-rw-r--r--fs/ceph/addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index dcf701b05cc1..ff6e3c279a79 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -1367,7 +1367,7 @@ out:
folio_put(folio);
if (check_cap)
- ceph_check_caps(ceph_inode(inode), CHECK_CAPS_AUTHONLY, NULL);
+ ceph_check_caps(ceph_inode(inode), CHECK_CAPS_AUTHONLY);
return copied;
}