From: Christoph Hellwig Date: Tue, 5 Feb 2008 01:13:15 +0000 (+1100) Subject: [XFS] stop re-checking permissions in xfs_swapext X-Git-Tag: v2.6.25-rc1~282^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6aa7f2184330262e1cb5f7802536e5346bd46a3;p=pandora-kernel.git [XFS] stop re-checking permissions in xfs_swapext xfs_swapext should simplify check if we have a writeable file descriptor instead of re-checking the permissions using xfs_iaccess. Add an additional check to refuse O_APPEND file descriptors because swapext is not an append-only write operation. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30369a Signed-off-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed