diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-11-03 14:00:26 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-12-14 23:21:47 +0100 |
commit | 81048c00d133512e4b4a848b0653d782a83e5911 (patch) | |
tree | 9a0081078b8001fcf3be582ce854ac9af3810ac3 /fs/ceph/metric.c | |
parent | 06a1ad438b7b8d4fd689114a305b37cb526ff638 (diff) |
ceph: acquire Fs caps when getting dir stats
We only update the inode's dirstats when we have Fs caps from the MDS.
Declare a new VXATTR_FLAG_DIRSTAT that we set on all dirstats, and have
the vxattr handling code acquire those caps when it's set.
URL: https://tracker.ceph.com/issues/48104
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/metric.c')
0 files changed, 0 insertions, 0 deletions