diff options
author | 2024-05-21 15:58:40 +0300 | |
---|---|---|
committer | 2024-05-22 19:25:00 -0400 | |
commit | 134d0b3f2440cdddd12fc3444c9c0f62331ce6fc (patch) | |
tree | 7312f1ce7a569b4f7b18b5debc6f4d2c01bf24b2 /scripts/generate_rust_analyzer.py | |
parent | MAINTAINERS: Change email address for Trond Myklebust (diff) | |
download | linux-rng-134d0b3f2440cdddd12fc3444c9c0f62331ce6fc.tar.xz linux-rng-134d0b3f2440cdddd12fc3444c9c0f62331ce6fc.zip |
nfs: propagate readlink errors in nfs_symlink_filler
There is an inherent race where a symlink file may have been overriden
(by a different client) between lookup and readlink, resulting in a
spurious EIO error returned to userspace. Fix this by propagating back
ESTALE errors such that the vfs will retry the lookup/get_link (similar
to nfs4_file_open) at least once.
Cc: Dan Aloni <dan.aloni@vastdata.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions