DragonFly commits List (threaded) for 2011-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: HAMMER VFS - Fix two minor bugs.
commit dfec479fbd286f4df35365df97174521a832ddc1
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Tue Apr 5 21:09:09 2011 -0700
HAMMER VFS - Fix two minor bugs.
* When downgrading a volume to read-only due to a critical HAMMER error
also properly downgrade the VOP_OPEN/VOP_CLOSE state so the opencount
and writecount match up.
This should fix issues disconnecting the related disk device after
umounting a HAMMER partition which has had a critical error.
* When adding or removing a volume to an existing HAMMER mount flush
disk buffers before calling VOP_CLOSE() instead of after.
Summary of changes:
sys/vfs/hammer/hammer_vfsops.c | 2 ++
sys/vfs/hammer/hammer_volume.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dfec479fbd286f4df35365df97174521a832ddc1
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]