]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_bmap: don't reject -e
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 22 Jun 2018 00:46:24 +0000 (19:46 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 22 Jun 2018 00:46:24 +0000 (19:46 -0500)
commit548067854b65ecac2edb46897012387bd1787775
tree71c6f34784229de94178b74805148fc922305b10
parent77b3425e3bee68e92eabdd1d01bc26853acc22b9
xfs_bmap: don't reject -e

The xfs_io bmap command has an -e switch that prints delalloc extents
without fsync'ing the file first.  The xfs_bmap manpage says it'll pass
-e through, but it doesn't.  Fix the script and fix the weird manpage
discrepancy where it doesn't list -e in the available options but
discusses it anyway.

Fixes: 7536ce44f6 ("xfs_io: bmap should support querying CoW fork, shared blocks")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/xfs_bmap.sh
man/man8/xfs_bmap.8