[GIT PULL] vfs: bug fix for 5.7

From: Darrick J. Wong
Date: Thu Apr 02 2020 - 12:16:03 EST


Hi Linus,

Please pull this single vfs bug fix into 5.7 to fix a regression in
userspace hibernation now that the vfs doesn't really allow userspace to
write to active swap devices anymore.

--D

The following changes since commit 98d54f81e36ba3bf92172791eba5ca5bd813989b:

Linux 5.6-rc4 (2020-03-01 16:38:46 -0600)

are available in the Git repository at:

git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/vfs-5.7-merge-1

for you to fetch changes up to 56939e014a6c212b317414faa307029e2e80c3b9:

hibernate: Allow uswsusp to write to swap (2020-03-23 08:22:15 -0700)

----------------------------------------------------------------
New code for 5.7:
- Fix a regression where we broke the userspace hibernation driver by
disallowing writes to the swap device.

----------------------------------------------------------------
Domenico Andreoli (1):
hibernate: Allow uswsusp to write to swap

fs/block_dev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)