summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/linux/nfsd/interface.h
blob: fe27e9608a06a0186b7b49984819338d1c9ab743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * include/linux/nfsd/interface.h
 *
 * defines interface between nfsd and other bits of
 * the kernel.  Particularly filesystems (eventually).
 *
 * Copyright (C) 2000 Neil Brown <neilb@cse.unsw.edu.au>
 */

#ifndef LINUX_NFSD_INTERFACE_H
#define LINUX_NFSD_INTERFACE_H

#include <linux/config.h>

#ifndef CONFIG_NFSD
# ifdef CONFIG_MODULES

extern struct nfsd_linkage {
	long (*do_nfsservctl)(int cmd, void *argp, void *resp);
	struct module *owner;
} * nfsd_linkage;

# endif
#endif

#endif /* LINUX_NFSD_INTERFACE_H */