summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2004-07-10 19:30:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-10 19:30:45 -0700
commit49a83003403debd48b1ebd3cae29a1f417ee469f (patch)
treef6c2d2480ecd906f98980633960eda5d72b03713 /scripts
parent58556e5f5f32f152ab766ec778de184da6205441 (diff)
[PATCH] Use llseek instead of f_pos= for directory seeking
nfsd currently just sets f_pos when seeking in a directory. This bypasses any checking and other handling that a filesystem might want to do. So instead, we define "vfs_llseek" to be an exported "llseek", and use that, both to seek at the start, and the find the new position at the end. Thanks to "Derrick Schommer" <dschommer@acopia.com> "Trond Myklebust" <trond.myklebust@fys.uio.no> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions