OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-43-g58e56d0
Gerrit Code Review
gerrit@openafs.org
Thu, 12 Aug 2010 16:41:53 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit 58e56d080b8d19117b60f04ecb37af0c6dcafc1a
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Wed Aug 11 18:20:59 2010 -0400
Linux: adapt to truncate sequence changes
As part of changes to the truncate sequence, inode_setattr() no
longer exists, and all filesystems have to define the setattr op
so we can assume that it is not NULL.
Introduce a compat inline function afs_inode_setattr that hides
the tests and the different versions from the main code.
Note that the existing test for the inode_setattr() return type
will fail, but the value is no longer used in that case.
This is required for 2.6.36
Reviewed-on: http://gerrit.openafs.org/2543
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry-picked from commit eaf3378f537935f6b9843886b43d)
Change-Id: I1261e1e67d54409276d8b3530f9ec4f879604733
Reviewed-on: http://gerrit.openafs.org/2550
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4 | 1 +
src/afs/LINUX/osi_compat.h | 20 ++++++++++++++++++++
src/afs/LINUX/osi_file.c | 13 ++-----------
src/cf/linux-test4.m4 | 16 ++++++++++++++++
4 files changed, 39 insertions(+), 11 deletions(-)
--
OpenAFS Master Repository