xfs: reject swapext ioctl on swapfiles
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Feb 2009 18:56:00 +0000 (19:56 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Thu, 12 Feb 2009 18:56:00 +0000 (19:56 +0100)
commit7c8f7af67de19a7ae33a6fc06764771265b0cc56
treec27e78738c144e7a8e63ec1fa69a758394406985
parent264307520b120593ba63c4a23c58dd5e2ec5e822
xfs: reject swapext ioctl on swapfiles

Swapfiles are magic - I/O is directly initialized by the VM without
involving the filesystem.  Swapping out extents underneath the VM thus
can cause severe problems.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_dfrag.c