VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git] / fs / ext3 / ialloc.c
index a1b810230cc503708fa5cb2a91598684a0c3ca41..3ad242e5840e0bf0b2bec595039273e1e671afa0 100644 (file)
@@ -210,7 +210,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent)
        avefreeb = freeb / ngroups;
        ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter);
 
-       if ((parent == sb->s_root->d_inode) ||
+       if ((parent == d_inode(sb->s_root)) ||
            (EXT3_I(parent)->i_flags & EXT3_TOPDIR_FL)) {
                int best_ndir = inodes_per_group;
                int best_group = -1;
This page took 0.025878 seconds and 5 git commands to generate.