diff options
Diffstat (limited to 'fs/ramfs')
-rw-r--r-- | fs/ramfs/file-nommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c index 0b38befa69f3..ba1323a94924 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -163,7 +163,7 @@ static int ramfs_nommu_resize(struct inode *inode, loff_t newsize, loff_t size) | |||
163 | */ | 163 | */ |
164 | static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia) | 164 | static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia) |
165 | { | 165 | { |
166 | struct inode *inode = dentry->d_inode; | 166 | struct inode *inode = d_inode(dentry); |
167 | unsigned int old_ia_valid = ia->ia_valid; | 167 | unsigned int old_ia_valid = ia->ia_valid; |
168 | int ret = 0; | 168 | int ret = 0; |
169 | 169 | ||