lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 16 Dec 2004 16:08:11 +0000
FromChristoph Hellwig <>
SubjectRe: [PATCH] unregister_ioctl32_conversion and modules. ioctl32 revisited.
> +	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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2009