diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-07-19 10:49:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 19:04:52 +0200 |
commit | 9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7 (patch) | |
tree | aacaf5f3616f7e24a6fe66b5df136b521ccaa557 /fs/nfsd/vfs.c | |
parent | nfsd: fix possible read-ahead cache and export table corruption (diff) | |
download | linux-9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7.tar.xz linux-9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7.zip |
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" <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions