[PATCH] knfsd: Avoid use of unitialised variables on error path when nfs exports.
commit2ef502b375ad3bfd54c116ffe3b0e25a73e732ad
authorNeilBrown <neilb@suse.de>
Mon, 7 May 2007 00:35:15 +0000 (7 10:35 +1000)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:44 +0000 (23 14:32 -0700)
tree5b35ed334604390a9a19e575d675d0003de53d6d
parent7e57df063bfa0f14879b88e882bb06939a02d2b6
[PATCH] knfsd: Avoid use of unitialised variables on error path when nfs exports.

We need to zero various parts of 'exp' before any 'goto out', otherwise
when we go to free the contents... we die.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/nfsd/export.c