]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix the -V option for most shell scripts
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Sep 2009 17:24:38 +0000 (14:24 -0300)
committerhch@lst.de <Christoph Hellwig>
Wed, 9 Sep 2009 17:24:38 +0000 (14:24 -0300)
commit138aab651a619f1ac66e23cf01ff6c203169ccfc
treee3918b1670acc7c24c7336ec1a24adfce7a1919a
parent079afa096dff0c9bb4d8b5e44543c42277b80411
xfsprogs: fix the -V option for most shell scripts

For most of the shellscripts wrapping xfs_db or xfs_growfs the -V option
is not implemented correctly.  If we just add -V to the options for the
underlying binaries we will never actually call it because the mandatory
device / mount point argument is missing.  Instead just call the underlying
command with -V directly and exit early.  This is what xfs_bmap.sh,
xfs_mkfile and xfs_metadump.sh are already doing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Michael Monnerie <michael.monnerie@is.it-management.at>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
db/xfs_admin.sh
db/xfs_check.sh
db/xfs_ncheck.sh
growfs/xfs_info.sh