diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-12-17 18:33:33 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-12-17 20:32:20 +0100 |
commit | 09a80f2aef06b7c86143f5c14efd3485e0d2c139 (patch) | |
tree | a8de6d7050d8cf2b9b302e4dbc6ec45182903765 /fs/Kconfig.binfmt | |
parent | nfsd4: avoid NULL deference on strange COPY compounds (diff) | |
download | linux-09a80f2aef06b7c86143f5c14efd3485e0d2c139.tar.xz linux-09a80f2aef06b7c86143f5c14efd3485e0d2c139.zip |
nfsd: Return the correct number of bytes written to the file
We must allow for the fact that iov_iter_write() could have returned
a short write (e.g. if there was an ENOSPC issue).
Fixes: d890be159a71 "nfsd: Add I/O trace points in the NFSv4 write path"
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/Kconfig.binfmt')
0 files changed, 0 insertions, 0 deletions