fs: add ksys_close() wrapper; remove in-kernel calls to sys_close()
[linux-2.6-block.git] / fs / autofs4 / dev-ioctl.c
index b7c816f3940402f21002cb6e6cbc391b35cb32b9..26f6b4f41ce6b3c686a81e10bd15fc31a960ed1f 100644 (file)
@@ -310,7 +310,7 @@ static int autofs_dev_ioctl_closemount(struct file *fp,
                                       struct autofs_sb_info *sbi,
                                       struct autofs_dev_ioctl *param)
 {
-       return sys_close(param->ioctlfd);
+       return ksys_close(param->ioctlfd);
 }
 
 /*