Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347833
b: refs/heads/master
c: a4ff146
h: refs/heads/master
i:
  347831: 1bc5bd3
v: v3
  • Loading branch information
David Howells committed Dec 20, 2012
1 parent 96fa090 commit de8b748
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 969695215f9a865cbf64c4ce3742ac9fc57fffed
refs/heads/master: a4ff146881c2764d7c3e4ef710e7c27d521ddd51
1 change: 1 addition & 0 deletions trunk/fs/nfs/fscache.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ void nfs_fscache_set_inode_cookie(struct inode *inode, struct file *filp)
nfs_fscache_inode_unlock(inode);
}
}
EXPORT_SYMBOL_GPL(nfs_fscache_set_inode_cookie);

/*
* Replace a per-inode cookie due to revalidation detecting a file having
Expand Down
2 changes: 2 additions & 0 deletions trunk/fs/nfs/nfs4file.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include <linux/nfs_fs.h>
#include "internal.h"
#include "fscache.h"
#include "pnfs.h"

#define NFSDBG_FACILITY NFSDBG_FILE
Expand Down Expand Up @@ -74,6 +75,7 @@ nfs4_file_open(struct inode *inode, struct file *filp)

nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
nfs_file_set_open_context(filp, ctx);
nfs_fscache_set_inode_cookie(inode, filp);
err = 0;

out_put_ctx:
Expand Down

0 comments on commit de8b748

Please sign in to comment.