[PATCH] knfsd: fix up some bit-rot in exp_export
commit92ad857a3c2e40b191c61d5afccdb20d74844766
authorNeilBrown <neilb@suse.de>
Thu, 25 Jan 2007 04:35:17 +0000 (25 15:35 +1100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:43 +0000 (5 08:31 -0800)
tree64c2eae16bb87383bbd9099597ca1f809b349d15
parentdbd2bd734a5559fd167577e37498bad0b2f33d8a
[PATCH] knfsd: fix up some bit-rot in exp_export

The nfsservctl systemcall 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: Chris Wright <chrisw@sous-sol.org>
fs/nfsd/export.c