]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: disable xfs_ioc_space for always COW inodes
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Oct 2019 05:26:27 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 23:08:17 +0000 (16:08 -0700)
commit7a42c70ea0dd56b3ed747c1fcf9b96cc26c77774
tree86675e5d71686515feea9ff1912222f733620875
parent837a6e7f5cdb5e411c6187729e12962c2705160d
xfs: disable xfs_ioc_space for always COW inodes

If we always have to write out of place preallocating blocks is
pointless.  We already check for this in the normal falloc path, but
the check was missig in the legacy ALLOCSP path.

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>
fs/xfs/xfs_ioctl.c