Christoph Hellwig f6aa7f2184 [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 <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-02-07 18:22:24 +11:00
..
2006-01-09 20:48:03 +01:00
2008-02-07 16:48:58 +11:00
2008-02-07 16:46:39 +11:00
2008-02-07 16:47:45 +11:00
2007-07-14 15:28:50 +10:00
2008-02-07 16:47:15 +11:00
2008-02-07 18:14:38 +11:00
2007-10-16 11:40:24 +10:00
2008-02-07 18:19:41 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:47:15 +11:00
2008-02-07 18:16:07 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:48:58 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:47:15 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2008-02-07 16:47:15 +11:00
2008-02-07 16:42:19 +11:00
2008-02-07 16:42:19 +11:00