remove incorrect comment in inode_permission
PATCH 1/1 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 <[email protected]>
fs/namei.c +0 -1
@@ -257,7 +257,6 @@ int inode_permission(struct inode *inodereturn -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
Quoted 3 lines · Christoph Hellwig
We now pass on all
MAY_flags to the filesystems permission routines, so remove the comment stating the contrary.
Looks good.
Looks like an oversight from when the submask and MAY_APPEND clearing lines of code were taken out.
Reviewed-by Tim Shimmin <[email protected]>
Quoted 19 lines
Signed-off-by Christoph Hellwig <[email protected]>Index:
linux-2.6/fs/namei.c
===================================================================fs/namei.c +0
-2@@ -257,7 +257,6 @@ int inode_permission(struct inode *inodereturn -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 --To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html