new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -58,7 +58,7 @@ static long jfs_map_ext2(unsigned long flags, int from)
|
||||
|
||||
long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
struct inode *inode = filp->f_dentry->d_inode;
|
||||
struct inode *inode = file_inode(filp);
|
||||
struct jfs_inode_info *jfs_inode = JFS_IP(inode);
|
||||
unsigned int flags;
|
||||
|
||||
|
Reference in New Issue
Block a user