git: sys/vfs/hammer2: Remove redundant error check in hammer2_vfs_mount()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Mon Oct 24 02:08:30 PDT 2022
commit 6763396fd50db1a0398c315be072e94e4cd1d2f1
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Mon Oct 24 00:24:37 2022 -0700
sys/vfs/hammer2: Remove redundant error check in hammer2_vfs_mount()
The error is always 0 at this point, and devvps must always be opened.
While here zero initialize error on update mount.
Summary of changes:
sys/vfs/hammer2/hammer2_vfsops.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6763396fd50db1a0398c315be072e94e4cd1d2f1
--
DragonFly BSD source repository
More information about the Commits
mailing list