]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
xfs: check for invalid inode reflink flags
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Oct 2016 16:11:50 +0000 (09:11 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 5 Oct 2016 23:26:31 +0000 (16:26 -0700)
commitc8e156ac336d82f67d7adc014404a2251e9dad09
treead4439160ac5088574fa6984270ee2221438abb2
parente153aa7990a09a8a12860fc1f79304b02a6bc03f
xfs: check for invalid inode reflink flags

We don't support sharing blocks on the realtime device.  Flag inodes
with the reflink or cowextsize flags set when the reflink feature is
disabled.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/xfs_ioctl.c