]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ext4/inline.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / ext4 / inline.c
index bc5f871f0893d332220016b7e68901cf04e1672d..c0fd1a123f7d910aca4228e4f3af2e96b35c8a01 100644 (file)
@@ -1298,7 +1298,7 @@ int ext4_read_inline_dir(struct file *filp,
        int i, stored;
        struct ext4_dir_entry_2 *de;
        struct super_block *sb;
-       struct inode *inode = filp->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(filp);
        int ret, inline_size = 0;
        struct ext4_iloc iloc;
        void *dir_buf = NULL;