From: Christoph Hellwig Date: Wed, 5 Nov 2008 14:04:29 +0000 (+0100) Subject: remove incorrect comment in inode_permission X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66f221875dc10813aa2f06c83ad60d0eb1356406;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Al Viro --- 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