git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fec8d
)
[XFS] stop re-checking permissions in xfs_swapext
author
Christoph Hellwig
<hch@infradead.org>
Tue, 5 Feb 2008 01:13:15 +0000
(12:13 +1100)
committer
Lachlan McIlroy
<lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:22:24 +0000
(18:22 +1100)
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>
fs/xfs/xfs_dfrag.c
patch
|
blob
|
history
diff --cc
fs/xfs/xfs_dfrag.c
Simple merge