VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / drivers / staging / lustre / lustre / llite / llite_internal.h
index e7422f5c9c6f408deb97d93583a52fe30ebc20c9..5f918e3c4683ddac82c864d1d45f7c5700d20282 100644 (file)
@@ -1488,7 +1488,7 @@ static inline void d_lustre_invalidate(struct dentry *dentry, int nested)
 {
        CDEBUG(D_DENTRY, "invalidate dentry %pd (%p) parent %p inode %p refc %d\n",
               dentry, dentry,
-              dentry->d_parent, dentry->d_inode, d_count(dentry));
+              dentry->d_parent, d_inode(dentry), d_count(dentry));
 
        spin_lock_nested(&dentry->d_lock,
                         nested ? DENTRY_D_LOCK_NESTED : DENTRY_D_LOCK_NORMAL);