From: Miklos Szeredi Date: Wed, 21 May 2008 17:15:03 +0000 (+0200) Subject: [patch 05/14] hpfs: dont call permission() X-Git-Tag: v2.6.27-rc1~73^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd5191d9f5d1928c4efdf604c4164b04bb88dbe;p=pandora-kernel.git [patch 05/14] hpfs: dont call permission() hpfs_unlink() calls permission() prior to truncating the file. HPFS doesn't define a .permission method, so replace with explicit call to generic_permission(). This is equivalent, except that devcgroup_inode_permission() and security_inode_permission() are not called. The truncation is just an implementation detail of the unlink, so these security checks are unnecessary. I suspect that even calling generic_permission() is unnecessary, since we shouldn't mind if the file isn't writable. But I leave that to the maintainer to decide. Signed-off-by: Miklos Szeredi CC: Mikulas Patocka --- Reading git-diff-tree failed