git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d8457dd
)
linux-register-fs-deal-with-error-20070709
author
Derrick Brashear
<shadow@dementia.org>
Mon, 9 Jul 2007 20:58:57 +0000 (20:58 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 9 Jul 2007 20:58:57 +0000 (20:58 +0000)
deal with other people who think they are afs.
src/afs/LINUX/osi_module.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_module.c
b/src/afs/LINUX/osi_module.c
index
e60c0d5
..
71d3e49
100644
(file)
--- a/
src/afs/LINUX/osi_module.c
+++ b/
src/afs/LINUX/osi_module.c
@@
-96,7
+96,10
@@
init_module(void)
err = afs_init_inodecache();
if (err)
return err;
- register_filesystem(&afs_fs_type);
+ err = register_filesystem(&afs_fs_type);
+ if (err)
+ return err;
+
osi_sysctl_init();
#ifdef LINUX_KEYRING_SUPPORT
osi_keyring_init();