Messages in this thread | | | Date | Sun, 18 Aug 2019 01:39:37 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v2 2/2] vfs: don't allow writes to swap files |
| |
On Fri, Aug 16, 2019 at 09:19:49AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@oracle.com> > > 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>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |