projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7068c
)
autofs: set things up *before* registering fs type
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 17 Mar 2012 06:55:49 +0000
(
02:55
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:46 +0000
(21:29 -0400)
it's not a serious race, but we really want misc device before anybody
gets to mount this sucker.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/init.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/autofs4/init.c
b/fs/autofs4/init.c
index c038727b405031fb91052c7af314d62508c3a5bd..cddc74b9cdb2d03f6e2203666c86118ef60596c6 100644
(file)
--- a/
fs/autofs4/init.c
+++ b/
fs/autofs4/init.c
@@
-31,11
+31,11
@@
static int __init init_autofs4_fs(void)
{
int err;
+ autofs_dev_ioctl_init();
+
err = register_filesystem(&autofs_fs_type);
if (err)
- return err;
-
- autofs_dev_ioctl_init();
+ autofs_dev_ioctl_exit();
return err;
}