]> Pileus Git - ~andy/linux/blobdiff - fs/file_table.c
Replace a bunch of file->dentry->d_inode refs with file_inode()
[~andy/linux] / fs / file_table.c
index 485dc0eddd6707839120324ab552d94ef5ed5ab9..08e719b884ca31320bbcded23f6963ae0268779d 100644 (file)
@@ -227,7 +227,7 @@ static void __fput(struct file *file)
 {
        struct dentry *dentry = file->f_path.dentry;
        struct vfsmount *mnt = file->f_path.mnt;
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = file->f_inode;
 
        might_sleep();