diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-04-26 10:38:57 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-04-30 12:37:28 +0200 |
commit | a5ffd7b6e91a12975ae30de863437cc04387576a (patch) | |
tree | 31dfffa7449245e33eaa269a7e53e11a0d2afdae /fs/jbd2 | |
parent | aaf67de78807c59c35bafb5003d4fb457c764800 (diff) |
ceph: pass ino# instead of old_dentry if it's disconnected
When exporting the kceph to NFS it may pass a DCACHE_DISCONNECTED
dentry for the link operation. Then it will parse this dentry as a
snapdir, and the mds will fail the link request as -EROFS.
MDS allow clients to pass a ino# instead of a path.
Link: https://tracker.ceph.com/issues/59515
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions