diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-04-02 14:20:24 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 13:22:38 -0400 |
commit | a452bc0636728b8c12632ae4b5f4ddf39cbe39c1 (patch) | |
tree | 6c07f3039e891a35a48eac770b33e6e3b93e9793 | |
parent | 8340f22ce50c7c2f9b05e0875891dcc44232dce4 (diff) |
ceph: fix comment over ceph_drop_caps_for_unlink
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>
-rw-r--r-- | fs/ceph/caps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index f976939f771f..90090a56899e 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -4096,7 +4096,7 @@ void ceph_put_fmode(struct ceph_inode_info *ci, int fmode) | |||
4096 | } | 4096 | } |
4097 | 4097 | ||
4098 | /* | 4098 | /* |
4099 | * For a soon-to-be unlinked file, drop the AUTH_RDCACHE caps. If it | 4099 | * For a soon-to-be unlinked file, drop the LINK caps. If it |
4100 | * looks like the link count will hit 0, drop any other caps (other | 4100 | * looks like the link count will hit 0, drop any other caps (other |
4101 | * than PIN) we don't specifically want (due to the file still being | 4101 | * than PIN) we don't specifically want (due to the file still being |
4102 | * open). | 4102 | * open). |