From: J. Bruce Fields Date: Thu, 19 Jul 2007 08:49:18 +0000 (-0700) Subject: nfsd: return errors, not NULL, from export functions X-Git-Tag: v2.6.23-rc1~344 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7;p=pandora-kernel.git nfsd: return errors, not NULL, from export functions I converted the various export-returning functions to return -ENOENT instead of NULL, but missed a few cases. This particular case could cause actual bugs in the case of a krb5 client that doesn't match any ip-based client and that is trying to access a filesystem not exported to krb5 clients. Signed-off-by: "J. Bruce Fields" Acked-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed