summaryrefslogtreecommitdiffstats
path: root/security/lsm_audit.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-10-19 06:00:03 +0200
committerAlex Elder <aelder@sgi.com>2009-12-11 22:11:20 +0100
commit80641dc66a2d6dfb22af4413227a92b8ab84c7bb (patch)
treef7353e4ca2bd4629b41c9ec79306d042d64f90f7 /security/lsm_audit.c
parentxfs: fix mmap_sem/iolock inversion in xfs_free_eofblocks (diff)
downloadlinux-80641dc66a2d6dfb22af4413227a92b8ab84c7bb.tar.xz
linux-80641dc66a2d6dfb22af4413227a92b8ab84c7bb.zip
xfs: I/O completion handlers must use NOFS allocations
When completing I/O requests we must not allow the memory allocator to recurse into the filesystem, as we might deadlock on waiting for the I/O completion otherwise. The only thing currently allocating normal GFP_KERNEL memory is the allocation of the transaction structure for the unwritten extent conversion. Add a memflags argument to _xfs_trans_alloc to allow controlling the allocator behaviour. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Thomas Neumann <tneumann@users.sourceforge.net> Tested-by: Thomas Neumann <tneumann@users.sourceforge.net> Reviewed-by: Alex Elder <aelder@sgi.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions