summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-11-05 15:04:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2008-12-31 18:07:41 -0500
commit66f221875dc10813aa2f06c83ad60d0eb1356406 (patch)
tree4caf6a6d798f9ec8f8ee69dd4e12609e0191429d /fs/namei.c
parent52afeefb9dac9287429642189996426a2bfd6a25 (diff)
remove incorrect comment in inode_permission
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>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 9ed5e2818f80..631cfdd45c68 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -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