mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
linux-flush-unlock-20080402
LICENSE IPL10 because i let this slip out like this. sigh.
This commit is contained in:
parent
5fe4de574d
commit
31d06c78b2
@ -588,8 +588,10 @@ afs_linux_flush(struct file *fp)
|
|||||||
|
|
||||||
AFS_GLOCK();
|
AFS_GLOCK();
|
||||||
|
|
||||||
if (fp->f_flags | O_RDONLY) /* readers dont flush */
|
if (fp->f_flags | O_RDONLY) { /* readers dont flush */
|
||||||
|
AFS_GUNLOCK();
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
credp = crref();
|
credp = crref();
|
||||||
vcp = VTOAFS(FILE_INODE(fp));
|
vcp = VTOAFS(FILE_INODE(fp));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user