diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-03-14 23:06:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-03-14 23:06:06 -0800 |
| commit | 063b009f71b9ab15e25b1e63d95a7e65b0122ff8 (patch) | |
| tree | f22dc0311c083db1e0eb0c5ff9630f9adf3b5719 /include/linux/nfsd/interface.h | |
| parent | edb1bea52033decaf2611da116ca766fc8579cda (diff) | |
[PATCH] nfsd as filesystem
* introduces a new filesystem - nfsd. No, it's not a typo. It's a small
tree with fixed topology defined by nfsd and IO on its files does what
we used to do by hand in nfsctl.c.
* turns sys_nfsservctl() into a sequence of open()/write()/read()/close()
It works as it used to - we don't need nfsd to be mounted anywhere, etc.
* nfsd_linkage ugliness is gone.
* getfs and getfh demonstrate (rather trivial) example of "descriptor as
transaction descriptor" behaviour.
* we are fairly close to the situation when driver-defined filesystems can
be done with practically zero code overhead. We are still not there, but
it's a matter of adding a couple of helpers for populating the tree.
One thing we get immediately is a cleanup of sys_nfsservctl() -
it got _much_ better. Moreover, we get an alternative interface that
uses normal file IO and can be used without magic syscalls.
Diffstat (limited to 'include/linux/nfsd/interface.h')
| -rw-r--r-- | include/linux/nfsd/interface.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/nfsd/interface.h b/include/linux/nfsd/interface.h index 80c65165778d..af0979704afb 100644 --- a/include/linux/nfsd/interface.h +++ b/include/linux/nfsd/interface.h @@ -10,17 +10,4 @@ #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 */ |
