tech-kern archive

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

Re: Change do_sys_mount()



In article <56276E75.7000102%m00nbsd.net@localhost>,
Maxime Villard  <max%m00nbsd.net@localhost> wrote:
>Hi,
>here is a patch I must have written after fixing the bugs in mount one or
>two years ago. It changes do_sys_mount() so that it only takes as argument
>the type of the drive instead of its associated vfsops.
>
>It does change the behavior for the compat layers: now that the associated
>vfsops is retrieved via mount_get_vfsops(), the MODULE_CLASS_VFS modules
>are autoloaded when a compat binary wants to mount something. Curiously, it
>hasn't been the case so far.
>
>Tested quickly on amd64. Ok?
>

LGTM.

christos



Home | Main Index | Thread Index | Old Index