[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190818083937.GC13583@infradead.org>
Date: Sun, 18 Aug 2019 01:39:37 -0700
From: Christoph Hellwig <hch@...radead.org>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: hch@...radead.org, akpm@...ux-foundation.org, tytso@....edu,
viro@...iv.linux.org.uk, linux-xfs@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
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@...cle.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@...cle.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists