new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -889,7 +889,7 @@ static long tw_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long a
|
||||
unsigned long flags;
|
||||
unsigned int data_buffer_length = 0;
|
||||
unsigned long data_buffer_length_adjusted = 0;
|
||||
struct inode *inode = file->f_dentry->d_inode;
|
||||
struct inode *inode = file_inode(file);
|
||||
unsigned long *cpu_addr;
|
||||
long timeout;
|
||||
TW_New_Ioctl *tw_ioctl;
|
||||
|
Reference in New Issue
Block a user