projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Don't repeat ocfs2_xattr_block_find()
[firefly-linux-kernel-4.4.55.git]
/
fs
/
nfsctl.c
diff --git
a/fs/nfsctl.c
b/fs/nfsctl.c
index 51f1b31acbf69c7a2aad8877f5b34c9fe19d6ec3..aed8145d9087e053a9349a46c07bd03ac6b02ed5 100644
(file)
--- a/
fs/nfsctl.c
+++ b/
fs/nfsctl.c
@@
-41,9
+41,9
@@
static struct file *do_open(char *name, int flags)
error = may_open(&nd, MAY_WRITE, FMODE_WRITE);
if (!error)
- return dentry_open(nd.
dentry, nd
.mnt, flags);
+ return dentry_open(nd.
path.dentry, nd.path
.mnt, flags);
- path_
release(&nd
);
+ path_
put(&nd.path
);
return ERR_PTR(error);
}