res_counter: remove include of cgroup.h from res_counter.h
[linux-2.6-microblaze.git] / fs / ocfs2 / move_extents.c
index 6083432..9f8dcad 100644 (file)
@@ -1055,7 +1055,7 @@ int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp)
 {
        int status;
 
-       struct inode *inode = filp->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(filp);
        struct ocfs2_move_extents range;
        struct ocfs2_move_extents_context *context = NULL;