aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/export.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-07-19 01:49:18 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 10:04:52 -0700
commit9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7 (patch)
treeaacaf5f3616f7e24a6fe66b5df136b521ccaa557 /fs/ocfs2/export.c
parenta280df32db291f41b3922ac218674be526af5b9b (diff)
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/ocfs2/export.c')
0 files changed, 0 insertions, 0 deletions