Deleted Added
full compact
linsysfs.c (215354) linsysfs.c (232278)
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/compat/linsysfs/linsysfs.c 215354 2010-11-15 23:14:14Z des $");
28__FBSDID("$FreeBSD: head/sys/compat/linsysfs/linsysfs.c 232278 2012-02-29 00:30:18Z mm $");
29
30#include <sys/param.h>
31#include <sys/queue.h>
32#include <sys/blist.h>
33#include <sys/conf.h>
34#include <sys/exec.h>
35#include <sys/filedesc.h>
36#include <sys/kernel.h>

--- 238 unchanged lines hidden (view full) ---

275 TAILQ_REMOVE(&scsi_host_q, scsi_host, scsi_host_next);
276 free(scsi_host->path, M_TEMP);
277 free(scsi_host, M_TEMP);
278 }
279
280 return (0);
281}
282
29
30#include <sys/param.h>
31#include <sys/queue.h>
32#include <sys/blist.h>
33#include <sys/conf.h>
34#include <sys/exec.h>
35#include <sys/filedesc.h>
36#include <sys/kernel.h>

--- 238 unchanged lines hidden (view full) ---

275 TAILQ_REMOVE(&scsi_host_q, scsi_host, scsi_host_next);
276 free(scsi_host->path, M_TEMP);
277 free(scsi_host, M_TEMP);
278 }
279
280 return (0);
281}
282
283PSEUDOFS(linsysfs, 1);
283PSEUDOFS(linsysfs, 1, 0);
284MODULE_DEPEND(linsysfs, linux, 1, 1, 1);
284MODULE_DEPEND(linsysfs, linux, 1, 1, 1);