git: sbin/hammer: Properly set modified flag for blockmap
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Jul 17 09:50:04 PDT 2015
commit 8b8907c8234345a56030ea567f7dbf81398a1eca
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu Jul 16 23:50:33 2015 +0900
sbin/hammer: Properly set modified flag for blockmap
- When a blockmap finds the current layer2 (that corresponds to
blockmap->next_offset) belongs to a different zone and go to
the next layer2 by incrementing blockmap->next_offset, it should
set modified flag just like other ones do.
- If this function is ever changed to goto fail; without exit(1);
on failure, then a blockmap whose next_offset got incremented
here may be left without ondisk update.
Summary of changes:
sbin/hammer/ondisk.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8b8907c8234345a56030ea567f7dbf81398a1eca
--
DragonFly BSD source repository
More information about the Commits
mailing list