git: sys/vfs/hammer: Redo commit 283f6970
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Feb 25 09:43:21 PST 2016
commit 3378c207979c241d8b70e30df809d10fb9acdd33
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu Feb 25 02:26:10 2016 +0900
sys/vfs/hammer: Redo commit 283f6970
283f6970 was reverted by 8a94c3eb.
This commit redo the same sanity check in the right place.
Mirror write code that isn't trying to create a PFS still
calls hammer_mkroot_pseudofs() (which is kind of confusing),
so this sanity check must be done only after hammer_get_inode()
failed to find the existing inode by returning NULL.
Summary of changes:
sys/vfs/hammer/hammer.h | 2 +-
sys/vfs/hammer/hammer_inode.c | 10 +++++++++-
sys/vfs/hammer/hammer_pfs.c | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3378c207979c241d8b70e30df809d10fb9acdd33
--
DragonFly BSD source repository
More information about the Commits
mailing list