commit | c950963791f7c83c8bd11ca1fc1ebd29654fee1d | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Aug 16 18:58:14 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Aug 16 19:06:17 2019 -0700 |
tree | 3a1f4a7a5aa6f1257a7b2e70ea65767d49398968 | |
parent | 0153c758c5dddefb04f32f814b82d62c655fe9d4 [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. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>