diff options
Diffstat (limited to 'net-fs/openafs-kernel/files')
-rw-r--r-- | net-fs/openafs-kernel/files/STABLE14-linux-flush-compare-20080402 | 17 | ||||
-rw-r--r-- | net-fs/openafs-kernel/files/STABLE14-linux-flush-unlock-20080402 | 20 |
2 files changed, 0 insertions, 37 deletions
diff --git a/net-fs/openafs-kernel/files/STABLE14-linux-flush-compare-20080402 b/net-fs/openafs-kernel/files/STABLE14-linux-flush-compare-20080402 deleted file mode 100644 index faeb752a63b1..000000000000 --- a/net-fs/openafs-kernel/files/STABLE14-linux-flush-compare-20080402 +++ /dev/null @@ -1,17 +0,0 @@ -=================================================================== -RCS file: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v -retrieving revision 1.81.2.62 -retrieving revision 1.81.2.63 -diff -u -r1.81.2.62 -r1.81.2.63 ---- openafs/src/afs/LINUX/osi_vnodeops.c 2008/04/02 13:11:42 1.81.2.62 -+++ openafs/src/afs/LINUX/osi_vnodeops.c 2008/04/02 18:27:13 1.81.2.63 -@@ -570,7 +570,7 @@ - - AFS_GLOCK(); - -- if (fp->f_flags | O_RDONLY) { /* readers dont flush */ -+ if ((fp->f_flags & O_ACCMODE) == O_RDONLY) { /* readers dont flush */ - AFS_GUNLOCK(); - return 0; - } - diff --git a/net-fs/openafs-kernel/files/STABLE14-linux-flush-unlock-20080402 b/net-fs/openafs-kernel/files/STABLE14-linux-flush-unlock-20080402 deleted file mode 100644 index 1261810ee099..000000000000 --- a/net-fs/openafs-kernel/files/STABLE14-linux-flush-unlock-20080402 +++ /dev/null @@ -1,20 +0,0 @@ -=================================================================== -RCS file: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v -retrieving revision 1.81.2.61 -retrieving revision 1.81.2.62 -diff -u -r1.81.2.61 -r1.81.2.62 ---- openafs/src/afs/LINUX/osi_vnodeops.c 2008/03/26 04:17:32 1.81.2.61 -+++ openafs/src/afs/LINUX/osi_vnodeops.c 2008/04/02 13:11:42 1.81.2.62 -@@ -570,8 +570,10 @@ - - AFS_GLOCK(); - -- if (fp->f_flags | O_RDONLY) /* readers dont flush */ -+ if (fp->f_flags | O_RDONLY) { /* readers dont flush */ -+ AFS_GUNLOCK(); - return 0; -+ } - - credp = crref(); - vcp = VTOAFS(FILE_INODE(fp)); - |