]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/autofs4/symlink.c
VFS: normal filesystems (and lustre): d_inode() annotations
[mirror_ubuntu-jammy-kernel.git] / fs / autofs4 / symlink.c
index 1e8ea192be2b13612e9702c4296f57611e50ba09..de58cc7b8076178605cea8f776031945d7d6da62 100644 (file)
@@ -18,7 +18,7 @@ static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)
        struct autofs_info *ino = autofs4_dentry_ino(dentry);
        if (ino && !autofs4_oz_mode(sbi))
                ino->last_used = jiffies;
-       nd_set_link(nd, dentry->d_inode->i_private);
+       nd_set_link(nd, d_inode(dentry)->i_private);
        return NULL;
 }