Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linsysfs/linsysfs.c
Show First 20 Lines • Show All 550 Lines • ▼ Show 20 Lines | TAILQ_FOREACH_SAFE(scsi_host, &scsi_host_q, scsi_host_next, | ||||
TAILQ_REMOVE(&scsi_host_q, scsi_host, scsi_host_next); | TAILQ_REMOVE(&scsi_host_q, scsi_host, scsi_host_next); | ||||
free(scsi_host->path, M_TEMP); | free(scsi_host->path, M_TEMP); | ||||
free(scsi_host, M_TEMP); | free(scsi_host, M_TEMP); | ||||
} | } | ||||
return (0); | return (0); | ||||
} | } | ||||
PSEUDOFS(linsysfs, 1, PR_ALLOW_MOUNT_LINSYSFS); | PSEUDOFS(linsysfs, 1, VFCF_JAIL); | ||||
#if defined(__amd64__) | #if defined(__amd64__) | ||||
MODULE_DEPEND(linsysfs, linux_common, 1, 1, 1); | MODULE_DEPEND(linsysfs, linux_common, 1, 1, 1); | ||||
#else | #else | ||||
MODULE_DEPEND(linsysfs, linux, 1, 1, 1); | MODULE_DEPEND(linsysfs, linux, 1, 1, 1); | ||||
#endif | #endif |