diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-30 15:44:18 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-09-05 17:56:11 -0700 |
commit | 59f04e11d617cf533e62a2c0ecfd02dcd98bc7a2 (patch) | |
tree | 2a7f256fda901e4ef14fbdfb039b4384f57ae88c /fs/block_dev.c | |
parent | 089cf7f6ecb266b6a4164919a2e69bd2f938374a (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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions