diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-11-09 13:14:07 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-12-14 23:21:47 +0100 |
commit | 04fabb1199d1f995d6b9a1c42c046ac4bdac2d19 (patch) | |
tree | 45de0adda672462288a08f5e9948f760ffe48582 /include/crypto | |
parent | 8ba3b8c7fba4631a6689d976264067b446af4c1e (diff) |
ceph: ensure we have Fs caps when fetching dir link count
The link count for a directory is defined as inode->i_subdirs + 2,
(for "." and ".."). i_subdirs is only populated when Fs caps are held.
Ensure we grab Fs caps when fetching the link count for a directory.
[ idryomov: break unnecessarily long line ]
URL: https://tracker.ceph.com/issues/48125
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions