git: sys/vfs/hammer2: Prevent write against mounted device
tkusumi at crater.dragonflybsd.org
Thu Sep 24 06:56:24 PDT 2020
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(+)
DragonFly BSD source repository
More information about the Commits