git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f1a13e1
)
linux-truncate-cleanup-20090113
author
Simon Wilkinson
<sxw@inf.ed.ac.uk>
Tue, 13 Jan 2009 19:37:03 +0000 (19:37 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 13 Jan 2009 19:37:03 +0000 (19:37 +0000)
LICENSE IPL10
fix the patch to actually be applicable
src/afs/VNOPS/afs_vnop_attrs.c
patch
|
blob
|
history
diff --git
a/src/afs/VNOPS/afs_vnop_attrs.c
b/src/afs/VNOPS/afs_vnop_attrs.c
index
58b9a00
..
50ddd8b
100644
(file)
--- a/
src/afs/VNOPS/afs_vnop_attrs.c
+++ b/
src/afs/VNOPS/afs_vnop_attrs.c
@@
-546,7
+546,7
@@
afs_setattr(OSI_VC_DECL(avc), register struct vattr *attrs,
avc->states |= CDirty;
code = afs_TruncateAllSegments(avc, tsize, &treq, acred);
-#ifdef AFS_LINUX_26_ENV
+#ifdef AFS_LINUX26_ENV
/* We must update the Linux kernel's idea of file size as soon as
* possible, to avoid racing with delayed writepages delivered by
* pdflush */