Searched hist:ac503e4a309a3993a069750f95c2815ee5db5aa5 (Results 1 – 1 of 1) sorted by relevance
/linux/fs/nfsd/ |
H A D | nfs4xdr.c | diff ac503e4a309a3993a069750f95c2815ee5db5aa5 Tue Mar 22 15:28:36 CET 2016 Benjamin Coddington <bcodding@redhat.com> nfsd: use short read as well as i_size to set eof
Use the result of a local read to determine when to set the eof flag. This allows us to return the location of the end of the file atomically at the time of the read.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com> [bfields: add some documentation] Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|