]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: Disable -V if pwritev is not available
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Thu, 9 Nov 2017 20:54:59 +0000 (14:54 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 9 Nov 2017 20:54:59 +0000 (14:54 -0600)
commit68c269ca872a5ab88671273106e4d6b7c3589e0a
tree103491b22da6385f6f89bbb9c9d10cdfdc92ebfb
parent8743fab4a9b870fd6449c0724008ad3f94e954d7
xfs_io: Disable -V if pwritev is not available

This results in default case which will display the error message
that command is not found. This is required for xfs_io builds which
did not support pwritev and an attempt is made to use -V.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
[sandeen@sandeen.net: restrict default: printf to ifdef'd options]
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/pwrite.c