diff options
| author | Anna Schumaker <[email protected]> | 2019-11-08 21:02:24 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2019-11-18 09:43:24 +0000 |
| commit | 89658c4d04c7661c2c0770c6f92f465d58eed62d (patch) | |
| tree | 50d00e184b7ea0bc1df71dbc86e3fe1ca28811eb /net/unix/af_unix.c | |
| parent | fs: nfs: sysfs: Remove NULL check before kfree (diff) | |
| download | kernel-89658c4d04c7661c2c0770c6f92f465d58eed62d.tar.gz kernel-89658c4d04c7661c2c0770c6f92f465d58eed62d.zip | |
NFS: Return -ETXTBSY when attempting to write to a swapfile
My understanding is that -EBUSY refers to the underlying device, and
that -ETXTBSY is used when attempting to access a file in use by the
kernel (like a swapfile). Changing this return code helps us pass
xfstests generic/569
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
