X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fhpfs%2Finode.c;h=933c73780813198b8953376eaa1e595d786e36e1;hb=e64f638483a21105c7ce330d543fa1f1c35b5bc7;hp=7ce4b74234a12011140fb32594bde7bac6450173;hpb=5e2aa2ed08e2e280121dc7cf5609c87d464f12ef;p=karo-tx-linux.git diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index 7ce4b74234a1..933c73780813 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c @@ -257,7 +257,7 @@ void hpfs_write_inode_nolock(struct inode *i) int hpfs_setattr(struct dentry *dentry, struct iattr *attr) { - struct inode *inode = dentry->d_inode; + struct inode *inode = d_inode(dentry); int error = -EINVAL; hpfs_lock(inode->i_sb);