git: sbin/hammer: Add assertion to ensure not to clear modified buffer
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sun Mar 27 10:07:45 PDT 2016
commit f1833f81bd066ffb692453e7ea9ef259dd209535
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu Mar 24 19:20:29 2016 +0900
sbin/hammer: Add assertion to ensure not to clear modified buffer
get_buffer(isnew=1) should have an assertion here before it
zero clears ondisk buffer. If the buffer is modified but not
written back, get_buffer(isnew=1) will screw up the volume.
Summary of changes:
sbin/hammer/ondisk.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f1833f81bd066ffb692453e7ea9ef259dd209535
--
DragonFly BSD source repository
More information about the Commits
mailing list