diff options
| author | Trond Myklebust <[email protected]> | 2025-10-28 21:27:43 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2025-11-10 19:30:45 +0000 |
| commit | 85d2c2392ac6348e1171d627497034a341a250c1 (patch) | |
| tree | 61a95816e6c9d4094b9426e72c0bfb9fba8c9810 /net/unix/af_unix.c | |
| parent | nfs/localio: do not issue misaligned DIO out-of-order (diff) | |
| download | kernel-85d2c2392ac6348e1171d627497034a341a250c1.tar.gz kernel-85d2c2392ac6348e1171d627497034a341a250c1.zip | |
NFSv2/v3: Fix error handling in nfs_atomic_open_v23()
When nfs_do_create() returns an EEXIST error, it means that a regular
file could not be created. That could mean that a symlink needs to be
resolved. If that's the case, a lookup needs to be kicked off.
Reported-by: Stephen Abbene <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=220710
Fixes: 7c6c5249f061 ("NFS: add atomic_open for NFSv3 to handle O_TRUNC correctly.")
Signed-off-by: Trond Myklebust <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
