VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / exofs / inode.c
index 35073aaec6e08895f06ce3f7db86820d7dc982ec..786e4cc8c889cc8903f7d734ee3e255c0aeb24f8 100644 (file)
@@ -1028,7 +1028,7 @@ static int _do_truncate(struct inode *inode, loff_t newsize)
  */
 int exofs_setattr(struct dentry *dentry, struct iattr *iattr)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        int error;
 
        /* if we are about to modify an object, and it hasn't been