The following commit has been merged in the master branch:
commit 20d08fb0ec7190bac622e9ac8a17f97b7feef1cb
Author: Simon Wilkinson <[email protected]>
Date: Fri Apr 23 15:07:58 2010 +0100
Linux: Don't roll our own llseek
llseek is a little more complex than just setting the pos field of
the file structure.
Where vfs_llseek is available to us (it has been since 2.6.8) use that
directly. If vfs_llseek isn't available, then use either the
filesystem's llseek method, or default_llseek (available since 2.6.0),
to ensure we get the proper locking.
Change-Id: I26bcbff984c7164be1724eee7a46cbe6e02bc510
Reviewed-on: http://gerrit.openafs.org/1816
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: Derrick Brashear <[email protected]>
acinclude.m4 | 1 +
src/afs/LINUX/osi_compat.h | 9 +++++++++
src/afs/LINUX/osi_file.c | 11 ++++-------
src/cf/linux-test4.m4 | 13 +++++++++++++
4 files changed, 27 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs