]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix the -V option for various shell scripts
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Sep 2009 22:25:34 +0000 (17:25 -0500)
committerAlex Elder <aelder@sgi.com>
Thu, 10 Sep 2009 22:25:34 +0000 (17:25 -0500)
commitd24f8e6d2d46781bc76e6686f5a38f965ef057c1
treee3918b1670acc7c24c7336ec1a24adfce7a1919a
parent455775d9a3b9648312ab0864a25f160a9ac6d64c
xfsprogs: fix the -V option for various 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.

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