]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/ia64/kernel/perfmon.c
VFS: assorted weird filesystems: d_inode() annotations
[karo-tx-linux.git] / arch / ia64 / kernel / perfmon.c
index 5f4243f0acfa47be82766b2ccb9f8bbe13bcd55e..60e02f7747ff054e4edcce16daa454df8224ed84 100644 (file)
@@ -2159,7 +2159,7 @@ static const struct file_operations pfm_file_ops = {
 static char *pfmfs_dname(struct dentry *dentry, char *buffer, int buflen)
 {
        return dynamic_dname(dentry, buffer, buflen, "pfm:[%lu]",
-                            dentry->d_inode->i_ino);
+                            d_inode(dentry)->i_ino);
 }
 
 static const struct dentry_operations pfmfs_dentry_operations = {