diff options
Diffstat (limited to 'fs/jfs/file.c')
-rw-r--r-- | fs/jfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/file.c b/fs/jfs/file.c index ae46788b9723..e98d39d75cf4 100644 --- a/fs/jfs/file.c +++ b/fs/jfs/file.c | |||
@@ -100,7 +100,7 @@ static int jfs_release(struct inode *inode, struct file *file) | |||
100 | 100 | ||
101 | int jfs_setattr(struct dentry *dentry, struct iattr *iattr) | 101 | int jfs_setattr(struct dentry *dentry, struct iattr *iattr) |
102 | { | 102 | { |
103 | struct inode *inode = dentry->d_inode; | 103 | struct inode *inode = d_inode(dentry); |
104 | int rc; | 104 | int rc; |
105 | 105 | ||
106 | rc = inode_change_ok(inode, iattr); | 106 | rc = inode_change_ok(inode, iattr); |