diff options
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r-- | fs/jffs2/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index 601afd1afddf..fe5ea080b4ec 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c | |||
@@ -190,7 +190,7 @@ int jffs2_do_setattr (struct inode *inode, struct iattr *iattr) | |||
190 | 190 | ||
191 | int jffs2_setattr(struct dentry *dentry, struct iattr *iattr) | 191 | int jffs2_setattr(struct dentry *dentry, struct iattr *iattr) |
192 | { | 192 | { |
193 | struct inode *inode = dentry->d_inode; | 193 | struct inode *inode = d_inode(dentry); |
194 | int rc; | 194 | int rc; |
195 | 195 | ||
196 | rc = inode_change_ok(inode, iattr); | 196 | rc = inode_change_ok(inode, iattr); |