X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcompat_ioctl.c;h=614bd75b5a4a38f476045953b4c897c7966a7e5e;hb=52fcf7032935b33158e3998ed399cac97447ab8d;hp=da8cb3b3592c96ade1614ab8e553b5e16597b42a;hpb=2b300d204738a70fa62c38583905a6989b3cedcd;p=linux-2.6 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index da8cb3b359..614bd75b5a 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1376,7 +1376,7 @@ static int do_atm_ioctl(unsigned int fd, unsigned int cmd32, unsigned long arg) return -EINVAL; } -static __attribute_used__ int +static __used int ret_einval(unsigned int fd, unsigned int cmd, unsigned long arg) { return -EINVAL; @@ -2986,7 +2986,7 @@ asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, } do_ioctl: - error = vfs_ioctl(filp, fd, cmd, arg); + error = do_vfs_ioctl(filp, fd, cmd, arg); out_fput: fput_light(filp, fput_needed); out: