common: fix flink check
authorJosef Bacik <jbacik@fb.com>
Tue, 13 May 2014 05:30:03 +0000 (15:30 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 13 May 2014 05:30:03 +0000 (15:30 +1000)
commit0fd4705782c3748b2f83a10ce7cb7f33ffc8ad77
tree21050def6d803464dd2de890e19f83f739fd7d81
parent49398f817a88ace3ad9b49c81aae12d4bad7baab
common: fix flink check

I don't have flink support in my xfsprogs, but it doesn't fail with "command not
found" or whatever, it fails because I don't have the -T option, whereas Eric
gets an error about $TEST_DIR being a directory because his xfs_io tries to open
the directory first before it parses the options.  So fix this by checking flink
with these two cases and don't run if we hit either of them.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc