mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
dc617f29db
Don't let userspace write to an active swap file because the kernel effectively has a long term lease on the storage and things could get seriously corrupted if we let this happen. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>