diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2004-07-10 19:30:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-10 19:30:45 -0700 |
| commit | 49a83003403debd48b1ebd3cae29a1f417ee469f (patch) | |
| tree | f6c2d2480ecd906f98980633960eda5d72b03713 /scripts | |
| parent | 58556e5f5f32f152ab766ec778de184da6205441 (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
