xfs: disable per-inode DAX flag
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Sep 2017 21:07:08 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Sep 2017 06:20:02 +0000 (08:20 +0200)
commit0e8d7e364ec546c44762664d30f4b1f6fd912197
tree900d7cda4f63549be5a4337592a8d3dc98679adc
parenta46cf59265cf5282be0a488abc913e94db924e87
xfs: disable per-inode DAX flag

commit 742d84290739ae908f1b61b7d17ea382c8c0073a upstream.

Currently flag switching can be used to easily crash the kernel.  Disable
the per-inode DAX flag until that is sorted out.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_ioctl.c