summaryrefslogtreecommitdiff
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-09-06 10:15:16 +0800
committerIlya Dryomov <idryomov@gmail.com>2017-09-06 19:57:00 +0200
commit15b51bd6badbb373c723aa019cf530c8263efd7e (patch)
treee5e9c111c77b05319364f241440b2d5edee77923 /fs/f2fs/recovery.c
parentf275635ee0b6641151dfaf07b901d7c8d4d8e987 (diff)
ceph: stop on-going cached readdir if mds revokes FILE_SHARED cap
If directory's FILE_SHARED cap get revoked, dentry in the directory can get spliced into other directory (Eg, other client move the dentry into directory B, then we do readdir on directory B). So we should stop on-going cached readdir. this can be achieved by marking dir not complete, because __dcache_readdir() checks dir completeness before emitting each dentry. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/f2fs/recovery.c')
0 files changed, 0 insertions, 0 deletions