git: sys/vfs/hammer: Fix error message when volumes are already mounted
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:34 PDT 2015
commit 9d756529af421a4da46c2bc1340bde2c1d535602
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed Sep 16 07:10:16 2015 +0900
sys/vfs/hammer: Fix error message when volumes are already mounted
It should show volumes are mounted instead of "No root volume"
when the volumes are hammer volumes and failed with EBUSY.
# mount_hammer /dev/da1:/dev/da2:/dev/da3 /HAMMER
# mount_hammer /dev/da1:/dev/da2:/dev/da3 /HAMMER
mount_hammer: Unknown error: Device busy
# dmesg | tail -1
hammer_mount: The volumes are probably mounted
Summary of changes:
sys/vfs/hammer/hammer_vfsops.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d756529af421a4da46c2bc1340bde2c1d535602
--
DragonFly BSD source repository
More information about the Commits
mailing list