X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fautofs4%2Finit.c;h=9722e4bd895725f42361b86d74355c3c4656bfbe;hb=4c10c937cc2eb197db565392db91d429eec71176;hp=723a1c5e361b2786c8f8ec97e9332b77b1484e15;hpb=f0eef25339f92f7cd4aeea23d9ae97987a5a1e82;p=karo-tx-linux.git diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c index 723a1c5e361b..9722e4bd8957 100644 --- a/fs/autofs4/init.c +++ b/fs/autofs4/init.c @@ -29,11 +29,20 @@ static struct file_system_type autofs_fs_type = { static int __init init_autofs4_fs(void) { - return register_filesystem(&autofs_fs_type); + int err; + + err = register_filesystem(&autofs_fs_type); + if (err) + return err; + + autofs_dev_ioctl_init(); + + return err; } static void __exit exit_autofs4_fs(void) { + autofs_dev_ioctl_exit(); unregister_filesystem(&autofs_fs_type); }