]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: Fix up some bit-rot in exp_export
authorNeilBrown <neilb@suse.de>
Wed, 13 Dec 2006 08:35:45 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:54 +0000 (09:05 -0800)
commitf988443a84528bd30c2f474efa5e2c511959f19b
tree40c2cfaaa7381e0dd1f5315c5b55979f40799e04
parentdd08d6ea443abafe9455997d2889719364b8794b
[PATCH] knfsd: Fix up some bit-rot in exp_export

The nfsservctl system call isn't used but recent nfs-utils releases for
exporting filesystems, and consequently the code that is uses - exp_export -
has suffered some bitrot.

Particular:
  - some newly added fields in 'struct svc_export' are being initialised
    properly.
  - the return value is now always -ENOMEM ...

This patch fixes both these problems.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/export.c