mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
linux-truncate-cleanup-20090113
LICENSE IPL10 fix the patch to actually be applicable
This commit is contained in:
parent
f1a13e1562
commit
e6d60f58e2
@ -546,7 +546,7 @@ afs_setattr(OSI_VC_DECL(avc), register struct vattr *attrs,
|
|||||||
avc->states |= CDirty;
|
avc->states |= CDirty;
|
||||||
|
|
||||||
code = afs_TruncateAllSegments(avc, tsize, &treq, acred);
|
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
|
/* We must update the Linux kernel's idea of file size as soon as
|
||||||
* possible, to avoid racing with delayed writepages delivered by
|
* possible, to avoid racing with delayed writepages delivered by
|
||||||
* pdflush */
|
* pdflush */
|
||||||
|
Loading…
Reference in New Issue
Block a user