On Thu, Apr 23, 2020 at 04:31:30PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > It turns out that userspace actually does need the ability to write to > an active swapfile if userspace hibernation (uswsusp) is enabled. > Therefore, this test doesn't apply under those conditions. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good and fixes the spurious failures I'm seeing: Reviewed-by: Christoph Hellwig <hch@xxxxxx>