diff options
Diffstat (limited to 'kernel/fs/nfs/inode.c')
-rw-r--r-- | kernel/fs/nfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/nfs/inode.c b/kernel/fs/nfs/inode.c index 3e2071a17..f714b98cf 100644 --- a/kernel/fs/nfs/inode.c +++ b/kernel/fs/nfs/inode.c @@ -927,7 +927,7 @@ int nfs_open(struct inode *inode, struct file *filp) { struct nfs_open_context *ctx; - ctx = alloc_nfs_open_context(filp->f_path.dentry, filp->f_mode); + ctx = alloc_nfs_open_context(file_dentry(filp), filp->f_mode); if (IS_ERR(ctx)) return PTR_ERR(ctx); nfs_file_set_open_context(filp, ctx); |