git: HAMMER VFS - Fix two minor bugs.

看板DFBSD_commit作者時間14年前 (2011/04/06 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Dc-p9P- (DFBSD_commit)