remove incorrect comment in inode_permission
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Nov 2008 14:04:29 +0000 (15:04 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 Dec 2008 23:07:41 +0000 (18:07 -0500)
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>
fs/namei.c

index 9ed5e28..631cfdd 100644 (file)
@@ -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