diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2025-01-27 00:50:17 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-03-10 16:10:56 +0300 |
commit | d7d8e3169b56e7696559a2427c922c0d55debcec (patch) | |
tree | f1d6b146fc9331d4340a3f0bfb6aa7bf993b69d7 /scripts/gdb/linux/lists.py | |
parent | 904201c7b5f1bb15fe0cb978ec3e40c647100600 (diff) | |
download | linux-d7d8e3169b56e7696559a2427c922c0d55debcec.tar.xz |
NFSD: nfsd_unlink() clobbers non-zero status returned from fh_fill_pre_attrs()
If fh_fill_pre_attrs() returns a non-zero status, the error flow
takes it through out_unlock, which then overwrites the returned
status code with
err = nfserrno(host_err);
Fixes: a332018a91c4 ("nfsd: handle failure to collect pre/post-op attrs more sanely")
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions