]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
knfsd: exportfs: add procedural interface for NFSD
authorChristoph Hellwig <hch@infradead.org>
Tue, 17 Jul 2007 11:04:30 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:06 +0000 (10:23 -0700)
commitd37065cd6d6bbe98fd4be14d6c9e64c0bfa124c5
tree03a996d3d93a4d5ebd737519f7a6f959ecdbce0d
parent5ca29607331fe37980dc3b488793ef8b1409b722
knfsd: exportfs: add procedural interface for NFSD

Currently NFSD calls directly into filesystems through the export_operations
structure.  I plan to change this interface in various ways in later patches,
and want to avoid the export of the default operations to NFSD, so this patch
adds two simple exportfs_encode_fh/exportfs_decode_fh helpers for NFSD to call
instead of poking into exportfs guts.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exportfs/expfs.c
fs/nfsd/nfsfh.c
include/linux/exportfs.h