NetBSD-Bugs archive

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

Re: kern/38057: ffs makes assuptions about devvp file system



>  This is an even more obvious problem for some code yet to be checked in,
>  that it is for softdep.  I was thinking if it could be fixed in a general
>  manner by requiring that VBLK devvp has the properies of the file system
>  it is used for instead of the file system that the node resides on.

how about:

        flush_buffers_for_fsync(vp)
        {
                mp = vp->v_specmountpoint;
                if (mp != NULL) {
                        VFS_foo(mp, vp);
                } else {
                        vflushbuf();
                }
        }

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index