diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-10-28 17:27:43 -0400 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2025-11-10 14:30:45 -0500 |
| commit | 85d2c2392ac6348e1171d627497034a341a250c1 (patch) | |
| tree | 61a95816e6c9d4094b9426e72c0bfb9fba8c9810 /net/unix/af_unix.c | |
| parent | 6a218b9c3183ed19d5703130025282cf20463d87 (diff) | |
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 <sabbene87@gmail.com>
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 <trond.myklebust@hammerspace.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
