]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_growfs: allow mounted device node as argument
authorEric Sandeen <sandeen@redhat.com>
Mon, 4 Nov 2019 20:35:49 +0000 (15:35 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 4 Nov 2019 20:35:49 +0000 (15:35 -0500)
commit7e8275f8939988f18f9a4a596381ca215fde2270
tree7eabc9fae1c0a15ae965a609cd0f653a5fe95bda
parent49e05cb05113c8afdbc975dec8f1bd6e94a42395
xfs_growfs: allow mounted device node as argument

Up until:

 b97815a0 xfs_growfs: ensure target path is an active xfs mountpoint

xfs_growfs actually accepted a mounted block device name as the
primary argument, because it could be found in the mount table.

It turns out that Ansible was making use of this undocumented behavior,
and it's trivial to allow it, so put it back in place and document
it this time.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
growfs/xfs_growfs.c
man/man8/xfs_growfs.8