[PATCH] PATCH - Create "export_operations" interface for filesystems to describe
authorNeil Brown <neilb@cse.unsw.edu.au>
Mon, 15 Apr 2002 15:33:55 +0000 (08:33 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 15 Apr 2002 15:33:55 +0000 (08:33 -0700)
commitdcd2127081230d3ee15d9c8b3c705087b73b0c09
tree3b9fb893d51902a9ce7dc25f647bc5e203eb0100
parent0de4fa30014b4d6f46b0cddc3edda39803e020d3
[PATCH] PATCH - Create "export_operations" interface for filesystems to describe

Create "export_operations" interface for filesystems to describe
whether and how they should be exported.

- add new field in struct super_block "s_export_op" to describe
  how a filesystem is exported (i.e. how filehandles are mapped to
  dentries).
- New module: fs/exportfs for holding helper code for mapping between
  filehandles and dentries
- Change nfsd to use new interface if it exists.
- Change ext2 to provide new interface
- Add documention to filesystems/Exporting

If s_export_op isn't set, old mechanism still works, but it is
planned to remove old method and only use s_export_op.
13 files changed:
Documentation/filesystems/Exporting
Documentation/filesystems/porting
fs/Config.in
fs/Makefile
fs/exportfs/Makefile [new file with mode: 0644]
fs/exportfs/expfs.c [new file with mode: 0644]
fs/ext2/namei.c
fs/ext2/super.c
fs/nfsd/export.c
fs/nfsd/nfsctl.c
fs/nfsd/nfsfh.c
include/linux/dcache.h
include/linux/fs.h