From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: [PATCH] remove incorrect comment in inode_permission Date: Wed, 5 Nov 2008 15:04:29 +0100 Message-ID: <20081105140429.GB5012@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: viro@zeniv.linux.org.uk Return-path: Received: from verein.lst.de ([213.95.11.210]:52884 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbYKEOEd (ORCPT ); Wed, 5 Nov 2008 09:04:33 -0500 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: We now pass on all MAY_ flags to the filesystems permission routines, so remove the comment stating the contrary. Signed-off-by: Christoph Hellwig 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