VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / affs / inode.c
index 6f34510449e892b3afc807760d1108cba16d0dc2..57ed17137a13a493fda56fe78e176fc71c98b8eb 100644 (file)
@@ -212,7 +212,7 @@ affs_write_inode(struct inode *inode, struct writeback_control *wbc)
 int
 affs_notify_change(struct dentry *dentry, struct iattr *attr)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        int error;
 
        pr_debug("notify_change(%lu,0x%x)\n", inode->i_ino, attr->ia_valid);