Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66f22187 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 52afeefb
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -247,7 +247,6 @@ int inode_permission(struct inode *inode, int mask)
			return -EACCES;
			return -EACCES;
	}
	}


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