Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/fs/union



Module Name:    src
Committed By:   martin
Date:           Thu Aug 27 09:08:39 UTC 2020

Modified Files:
        src/sys/fs/union [netbsd-9]: union.h union_subr.c union_vnops.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1062):

        sys/fs/union/union.h: revision 1.30
        sys/fs/union/union_subr.c: revision 1.79
        sys/fs/union/union_vnops.c: revision 1.74

Operation union_readdirhook() stores the lower directory as un_uppervp.
This breaks the assumption that un_uppervp->v_mount is the upper mount.

Fix by storing the directory as un_lowervp and adapt union_readdir().

Should fix PR kern/55552: panic with union mount


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.10.1 src/sys/fs/union/union.h
cvs rdiff -u -r1.77 -r1.77.8.1 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.70 -r1.70.14.1 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index