commit | 3778dc2ba64815f496d336944365d3232b34a85c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Aug 20 07:55:16 2019 -0700 |
committer | Alexander Martinz <amartinz@shiftphones.com> | Mon Sep 27 22:50:29 2021 +0200 |
tree | 518a8e9bb2d0e268373bd976026bee2623f8c51e | |
parent | 2070a3425d872ba76151322ffc838dc889113e2b [diff] |
vfs: don't allow writes to swap files 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. Change-Id: Ie6beae0d77c4a8af934d27efaef0346a8f98578d Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>