diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-16 18:58:14 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-26 13:54:36 -0700 |
commit | 0c5f629377eba5a533c4802f8a281bee2a7539cb (patch) | |
tree | 94798617ce1929cd92de814edfadabe00c63b1c4 /mm/mmap.c | |
parent | a55aa89aab90fae7c815b0551b07be37db359d76 (diff) |
mm: set S_SWAPFILE on blockdev swap devices
Set S_SWAPFILE on block device inodes so that they have the same
protections as a swap flie.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions