Christoph Hellwig wrote: > 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 <tes@xxxxxxx> > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > > Index: linux-2.6/fs/namei.c > =================================================================== > --- linux-2.6.orig/fs/namei.c 2008-11-04 12:24:15.000000000 +0100 > +++ linux-2.6/fs/namei.c 2008-11-04 12:24:38.000000000 +0100 > @@ -257,7 +257,6 @@ int inode_permission(struct inode *inode > 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html