commit | 637d206666cea1f439d7117366c6a3065aa375ae | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue Jun 15 17:13:10 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Wed Jul 28 14:12:09 2021 -0700 |
tree | c98333de93c649143fa899e6c727407098078c98 | |
parent | 62fcde087b629efc10eb1d27163647d79c9fdea5 [diff] |
xfs_io: fix broken funshare_cmd usage Create a funshare_cmd and use that to store information about the xfs_io funshare command instead of overwriting the contents of fzero_cmd. This fixes confusing output like: $ xfs_io -c 'fzero 2 3 --help' / fzero: invalid option -- '-' funshare off len -- unshares shared blocks within the range Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>