diff options
Diffstat (limited to 'fs/ext2/inode.c')
-rw-r--r-- | fs/ext2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index e1abf75e994c..99a747cacf58 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -1547,7 +1547,7 @@ int ext2_write_inode(struct inode *inode, struct writeback_control *wbc) | |||
1547 | 1547 | ||
1548 | int ext2_setattr(struct dentry *dentry, struct iattr *iattr) | 1548 | int ext2_setattr(struct dentry *dentry, struct iattr *iattr) |
1549 | { | 1549 | { |
1550 | struct inode *inode = dentry->d_inode; | 1550 | struct inode *inode = d_inode(dentry); |
1551 | int error; | 1551 | int error; |
1552 | 1552 | ||
1553 | error = inode_change_ok(inode, iattr); | 1553 | error = inode_change_ok(inode, iattr); |