Revision 3759b788498ffc0b2563181567af4c82d983f921 authored by James Bottomley on 14 January 2006, 15:28:07 UTC, committed by James Bottomley on 14 January 2006, 16:55:11 UTC
Now that mptfc actually uses the transport class, it can't be built without it. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent 569b11d
nonet.c
/*
* net/nonet.c
*
* Dummy functions to allow us to configure network support entirely
* out of the kernel.
*
* Distributed under the terms of the GNU GPL version 2.
* Copyright (c) Matthew Wilcox 2003
*/
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
{
return -ENXIO;
}
struct file_operations bad_sock_fops = {
.owner = THIS_MODULE,
.open = sock_no_open,
};
Computing file changes ...