projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFS: Use i_writecount to control whether to get an fscache cookie in nfs_open()
[linux-block.git]
/
fs
/
nfs
/
dir.c
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index 854a8f05a61007bf14b2dd75e7f080fbb248cce4..4c5edcc8b6e91a4cf88c9299b86802f2784e0c4f 100644
(file)
--- a/
fs/nfs/dir.c
+++ b/
fs/nfs/dir.c
@@
-1381,7
+1381,7
@@
static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, i
static int do_open(struct inode *inode, struct file *filp)
{
- nfs_fscache_
set_inode_cooki
e(inode, filp);
+ nfs_fscache_
open_fil
e(inode, filp);
return 0;
}