git: sys/vfs/hammer2: Properly set rdonly flag for PFS

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Sep 7 00:32:06 PDT 2022


commit 5f5122fa2471887600e87e29917d577f65d73a05
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Sep 7 00:11:28 2022 -0700

    sys/vfs/hammer2: Properly set rdonly flag for PFS
    
    VOP's check if PFS is rdonly mount, but pmp->ronly is always 0.
    
    Note that VFS usually returns error for rdonly mount before
    process even reaches there.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f5122fa2471887600e87e29917d577f65d73a05


-- 
DragonFly BSD source repository


More information about the Commits mailing list