smb: client: get rid of smb311_posix_query_path_info()
[linux-2.6-block.git] / fs / ioctl.c
index f5fd99d6b0d4ed981811797e35f254c98cd70e25..76cf22ac97d76256104a6dbc4f819247168ce769 100644 (file)
@@ -920,8 +920,7 @@ COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd,
        if (!f.file)
                return -EBADF;
 
-       /* RED-PEN how should LSM module know it's handling 32bit? */
-       error = security_file_ioctl(f.file, cmd, arg);
+       error = security_file_ioctl_compat(f.file, cmd, arg);
        if (error)
                goto out;