]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/reiserfs/super.c
VFS: normal filesystems (and lustre): d_inode() annotations
[mirror_ubuntu-zesty-kernel.git] / fs / reiserfs / super.c
index 71fbbe3e2dab310481ef97ca12885a4a2137e8cf..558ef2ce1bddaad0e4045ff49a28a2dcdd6e48ce 100644 (file)
@@ -1687,7 +1687,7 @@ static __u32 find_hash_out(struct super_block *s)
        __u32 hash = DEFAULT_HASH;
        __u32 deh_hashval, teahash, r5hash, yurahash;
 
-       inode = s->s_root->d_inode;
+       inode = d_inode(s->s_root);
 
        make_cpu_key(&key, inode, ~0, TYPE_DIRENTRY, 3);
        retval = search_by_entry_key(s, &key, &path, &de);
@@ -2347,7 +2347,7 @@ static int reiserfs_quota_on(struct super_block *sb, int type, int format_id,
                err = -EXDEV;
                goto out;
        }
-       inode = path->dentry->d_inode;
+       inode = d_inode(path->dentry);
        /*
         * We must not pack tails for quota files on reiserfs for quota
         * IO to work