diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-20 17:55:16 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-20 17:55:16 +0300 |
commit | 1638045c36772b47a0765f7dca07cb90267e4942 (patch) | |
tree | 712132e4734b88a780b7b0941ae57f326f7e24b2 /fs/block_dev.c | |
parent | 609488bc979f99f805f34e9a32c1e3b71179d10b (diff) | |
download | linux-1638045c36772b47a0765f7dca07cb90267e4942.tar.xz |
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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions