[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: sys/vfs/hammer2: Return ENOENT if PFS label not found on mount
From: Tomohiro Kusumi <tkusumi () crater ! dragonflybsd ! org>
Date: 2020-09-28 15:19:39
Message-ID: 20200928151939.93958C58BA0 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit 5911121152a7e8eb5a569cc0639f0c5e27bee523
Author: Tomohiro Kusumi <tkusumi@netbsd.org>
Date: Tue Sep 29 00:24:30 2020 +0900
sys/vfs/hammer2: Return ENOENT if PFS label not found on mount
and make sbin/mount_hammer2 handle ENOENT with an error message.
This can easily happen if newfs_hammer2'd with explcit label
specification (i.e. no default label created), and the reason isn't
obvious with just EINVAL.
Summary of changes:
sbin/mount_hammer2/mount_hammer2.c | 7 +++++--
sys/vfs/hammer2/hammer2_vfsops.c | 21 ++++++++++++++-------
2 files changed, 19 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5911121152a7e8eb5a569cc0639f0c5e27bee523
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic