Merge git://git.infradead.org/intel-iommu
[firefly-linux-kernel-4.4.55.git] / fs / debugfs / file.c
index 517e6493843824f716b721845075b28d8e7d229d..830a7e76f5c64067e46fad8fd368e9112ddae7a9 100644 (file)
@@ -45,7 +45,7 @@ const struct file_operations debugfs_file_operations = {
 
 static void *debugfs_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       nd_set_link(nd, dentry->d_inode->i_private);
+       nd_set_link(nd, d_inode(dentry)->i_private);
        return NULL;
 }