VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git] / fs / ext4 / ialloc.c
index ac644c31ca67472f3a16f91c6107e3d06772f66f..d8d4f2929cbd95a4a3bb1509bb12442bb5452ccb 100644 (file)
@@ -444,7 +444,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
        ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter);
 
        if (S_ISDIR(mode) &&
-           ((parent == sb->s_root->d_inode) ||
+           ((parent == d_inode(sb->s_root)) ||
             (ext4_test_inode_flag(parent, EXT4_INODE_TOPDIR)))) {
                int best_ndir = inodes_per_group;
                int ret = -1;
This page took 0.024524 seconds and 5 git commands to generate.