Source-Changes archive

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

CVS commit: src/sys/dev/dm

Module Name:    src
Committed By:   haad
Date:           Fri Jan 16 00:46:12 UTC 2009

Modified Files:
        src/sys/dev/dm: device-mapper.c dm_ioctl.c

Log Message:
Disable unloading of dm driver when there are any devices defined. This means
that we have to run lvm vgchange -a n before modunload in NetBSD.

We really need to disable module unloading only for mounted devices, I have
to look at vfs_hooks for mount/umount calls and find way how to mark devices
as mounted in dm driver.

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/dev/dm/device-mapper.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/dm/dm_ioctl.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