Re: [PATCH] unregister_ioctl32_conversion and modules. ioctl32 revisited.

From: Christoph Hellwig
Date: Thu Dec 16 2004 - 11:13:29 EST


> + long (*ioctl_native) (struct inode *, struct file *, unsigned int,
> + unsigned long);
> + long (*ioctl_compat) (struct inode *, struct file *, unsigned int,
> + unsigned long);

Please remove the struct inode * argument, it's easily retrievable
from file->f_dentry->d_inode. The ioctl prototype is a leftover from
really old days where that wasn't true.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/