diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-02-05 12:13:15 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 18:22:24 +1100 |
commit | f6aa7f2184330262e1cb5f7802536e5346bd46a3 (patch) | |
tree | 73edcd57933b033bf69e6ae5cf46e102b47b41cb /fs/xfs/xfs_acl.c | |
parent | 35fec8df65217546f6d9d508b203c1d135a67fbc (diff) | |
download | kernel_samsung_aries-f6aa7f2184330262e1cb5f7802536e5346bd46a3.zip kernel_samsung_aries-f6aa7f2184330262e1cb5f7802536e5346bd46a3.tar.gz kernel_samsung_aries-f6aa7f2184330262e1cb5f7802536e5346bd46a3.tar.bz2 |
[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>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
0 files changed, 0 insertions, 0 deletions