git: sys/vfs/hammer2: Prevent write against mounted device

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Sep 24 06:56:24 PDT 2020


commit 70e86c82a603ed4713b1428b6e34d9b1e009b1c8
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Thu Sep 24 02:30:56 2020 +0900

    sys/vfs/hammer2: Prevent write against mounted device
    
    Use a most recently mounted mp for devvp->v_rdev->si_mountpoint.
    All fs do this except that in HAMMER2 devvp and mp aren't 1:1.

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70e86c82a603ed4713b1428b6e34d9b1e009b1c8


-- 
DragonFly BSD source repository



More information about the Commits mailing list