Skip to content

Commit

Permalink
remove incorrect comment in inode_permission
Browse files Browse the repository at this point in the history
We now pass on all MAY_ flags to the filesystems permission routines,
so remove the comment stating the contrary.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Christoph Hellwig authored and Al Viro committed Dec 31, 2008
1 parent 52afeef commit 66f2218
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ int inode_permission(struct inode *inode, int mask)
return -EACCES;
}

/* Ordinary permission routines do not understand MAY_APPEND. */
if (inode->i_op && inode->i_op->permission)
retval = inode->i_op->permission(inode, mask);
else
Expand Down

0 comments on commit 66f2218

Please sign in to comment.