[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-commits
Subject:    git: sys/vfs/hammer2: Prevent write against mounted device
From:       Tomohiro Kusumi <tkusumi () crater ! dragonflybsd ! org>
Date:       2020-09-24 13:56:24
Message-ID: 20200924135624.B47A0C4DA7E () crater ! dragonflybsd ! org
[Download RAW message or body]


commit 70e86c82a603ed4713b1428b6e34d9b1e009b1c8
Author: Tomohiro Kusumi <tkusumi@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic