]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/cifs/cifsfs.c
VFS: normal filesystems (and lustre): d_inode() annotations
[mirror_ubuntu-jammy-kernel.git] / fs / cifs / cifsfs.c
index eaab4b2a05953225ea92075c95dd2e0174d3d75b..f5089bde363576dcab6a35887f3c539a8a7e6247 100644 (file)
@@ -607,7 +607,7 @@ cifs_get_root(struct smb_vol *vol, struct super_block *sb)
        p = s = full_path;
 
        do {
-               struct inode *dir = dentry->d_inode;
+               struct inode *dir = d_inode(dentry);
                struct dentry *child;
 
                if (!dir) {