commit 0b818f293c44a0b45af4fa6aaae7a6b80baafa3d Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Tue Aug 18 19:11:04 2015 +0900
sys/vfs/hammer: Check ronly when overwriting volume header Check readonly mount before overwriting volume header with non-NULL data on load/unload. (hammer volume-add|del ioctls which are the only cases with non-NULL data do have readonly mount check before load/unload, so there isn't any issue without ronly==0 but the check should be done here too) Summary of changes: sys/vfs/hammer/hammer_ondisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0b818f293c44a0b45af4fa6aaae7a6b80baafa3d -- DragonFly BSD source repository