Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8aeb376c
Commit
8aeb376c
authored
Jun 25, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs: LOOKUP_{OPEN,CREATE,EXCL} is set only on the last step
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
43527803
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
fs/nfs/dir.c
fs/nfs/dir.c
+2
-4
No files found.
fs/nfs/dir.c
View file @
8aeb376c
...
...
@@ -997,14 +997,12 @@ static int nfs_check_verifier(struct inode *dir, struct dentry *dentry)
* Return the intent data that applies to this particular path component
*
* Note that the current set of intents only apply to the very last
* component of the path
.
*
We check for this using LOOKUP_CONTINUE and LOOKUP_PARENT
.
* component of the path
and none of them is set before that last
*
component
.
*/
static
inline
unsigned
int
nfs_lookup_check_intent
(
struct
nameidata
*
nd
,
unsigned
int
mask
)
{
if
(
nd
->
flags
&
(
LOOKUP_CONTINUE
|
LOOKUP_PARENT
))
return
0
;
return
nd
->
flags
&
mask
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment