diff options
Diffstat (limited to 'fs/hpfs/inode.c')
-rw-r--r-- | fs/hpfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
257 | 257 | ||
258 | int hpfs_setattr(struct dentry *dentry, struct iattr *attr) | 258 | int hpfs_setattr(struct dentry *dentry, struct iattr *attr) |
259 | { | 259 | { |
260 | struct inode *inode = dentry->d_inode; | 260 | struct inode *inode = d_inode(dentry); |
261 | int error = -EINVAL; | 261 | int error = -EINVAL; |
262 | 262 | ||
263 | hpfs_lock(inode->i_sb); | 263 | hpfs_lock(inode->i_sb); |