summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2016-03-22 15:28:36 +0100
committerJ. Bruce Fields <bfields@redhat.com>2016-03-23 21:02:39 +0100
commitac503e4a309a3993a069750f95c2815ee5db5aa5 (patch)
treeb96495be6e8e44829db04073c6263ac43ac97a05 /kernel/rcu
parentnfsd: better layoutupdate bounds-checking (diff)
downloadlinux-ac503e4a309a3993a069750f95c2815ee5db5aa5.tar.xz
linux-ac503e4a309a3993a069750f95c2815ee5db5aa5.zip
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>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions