]> xenbits.xensource.com Git - arm/linux.git/commitdiff
ceph: fix comment over ceph_drop_caps_for_unlink
authorJeff Layton <jlayton@kernel.org>
Tue, 2 Apr 2019 18:20:24 +0000 (14:20 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 May 2019 17:22:38 +0000 (19:22 +0200)
It's not clear what AUTH_RDCACHE means in this context, and we're
clearly just dropping LINK caps here.

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

index f976939f771f087cf6ce436f00c9bd90f0999091..90090a56899ee40b5db7d822cd3b262aa17cc994 100644 (file)
@@ -4096,7 +4096,7 @@ void ceph_put_fmode(struct ceph_inode_info *ci, int fmode)
 }
 
 /*
- * For a soon-to-be unlinked file, drop the AUTH_RDCACHE caps. If it
+ * For a soon-to-be unlinked file, drop the LINK caps. If it
  * looks like the link count will hit 0, drop any other caps (other
  * than PIN) we don't specifically want (due to the file still being
  * open).