OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-9-g20d08fb
Gerrit Code Review
gerrit@openafs.org
Sun, 25 Apr 2010 21:04:59 -0700 (PDT)
The following commit has been merged in the master branch:
commit 20d08fb0ec7190bac622e9ac8a17f97b7feef1cb
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
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