From: NeilBrown Date: Wed, 13 Dec 2006 08:35:45 +0000 (-0800) Subject: [PATCH] knfsd: Fix up some bit-rot in exp_export X-Git-Tag: v2.6.20-rc1~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f988443a84528bd30c2f474efa5e2c511959f19b;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed