|
@@ -5,6 +5,7 @@
|
|
|
*/
|
|
|
#include <linux/nfs_fs.h>
|
|
|
#include "internal.h"
|
|
|
+#include "fscache.h"
|
|
|
#include "pnfs.h"
|
|
|
|
|
|
#define NFSDBG_FACILITY NFSDBG_FILE
|
|
@@ -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:
|