Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / fs / ext4 / fsync.c
index e9d632e9aa4b4e3cac9391d0cbf9fb2279d9285d..8850254136ae31fea8c4398a43a21fcb0d21f9cd 100644 (file)
@@ -55,7 +55,7 @@ static int ext4_sync_parent(struct inode *inode)
                dentry = d_find_any_alias(inode);
                if (!dentry)
                        break;
-               next = igrab(dentry->d_parent->d_inode);
+               next = igrab(d_inode(dentry->d_parent));
                dput(dentry);
                if (!next)
                        break;