git: sys/vfs/hammer2: Make ioctl(HAMMER2IOC_PFS_DELETE) return EBUSY if mounted

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Oct 2 10:03:09 PDT 2020


commit 9a41e74513e9bec915bc2c233ee8434161779b67
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Fri Oct 2 01:32:07 2020 +0900

    sys/vfs/hammer2: Make ioctl(HAMMER2IOC_PFS_DELETE) return EBUSY if mounted
    
    Don't let hammer2(8) "pfs-delete" delete a currently mounted PFS...

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a41e74513e9bec915bc2c233ee8434161779b67


-- 
DragonFly BSD source repository



More information about the Commits mailing list