aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c
index ae0e56fdb742..6c76e1ee9c45 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -268,8 +268,6 @@ int permission(struct inode *inode, int mask, struct nameidata *nd)
268 if (nd) { 268 if (nd) {
269 if (nd->flags & LOOKUP_ACCESS) 269 if (nd->flags & LOOKUP_ACCESS)
270 extra |= MAY_ACCESS; 270 extra |= MAY_ACCESS;
271 if (nd->flags & LOOKUP_CHDIR)
272 extra |= MAY_CHDIR;
273 if (nd->flags & LOOKUP_OPEN) 271 if (nd->flags & LOOKUP_OPEN)
274 extra |= MAY_OPEN; 272 extra |= MAY_OPEN;
275 } 273 }