diff options
Diffstat (limited to 'fs/autofs4/init.c')
-rw-r--r-- | fs/autofs4/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c index c038727b4050..cddc74b9cdb2 100644 --- a/fs/autofs4/init.c +++ b/fs/autofs4/init.c | |||
@@ -31,11 +31,11 @@ static int __init init_autofs4_fs(void) | |||
31 | { | 31 | { |
32 | int err; | 32 | int err; |
33 | 33 | ||
34 | autofs_dev_ioctl_init(); | ||
35 | |||
34 | err = register_filesystem(&autofs_fs_type); | 36 | err = register_filesystem(&autofs_fs_type); |
35 | if (err) | 37 | if (err) |
36 | return err; | 38 | autofs_dev_ioctl_exit(); |
37 | |||
38 | autofs_dev_ioctl_init(); | ||
39 | 39 | ||
40 | return err; | 40 | return err; |
41 | } | 41 | } |