diff options
Diffstat (limited to 'fs/exofs/inode.c')
-rw-r--r-- | fs/exofs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 35073aaec6e0..786e4cc8c889 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
@@ -1028,7 +1028,7 @@ static int _do_truncate(struct inode *inode, loff_t newsize) | |||
1028 | */ | 1028 | */ |
1029 | int exofs_setattr(struct dentry *dentry, struct iattr *iattr) | 1029 | int exofs_setattr(struct dentry *dentry, struct iattr *iattr) |
1030 | { | 1030 | { |
1031 | struct inode *inode = dentry->d_inode; | 1031 | struct inode *inode = d_inode(dentry); |
1032 | int error; | 1032 | int error; |
1033 | 1033 | ||
1034 | /* if we are about to modify an object, and it hasn't been | 1034 | /* if we are about to modify an object, and it hasn't been |