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 d532c20fc179..8d44f0347b27 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -183,7 +183,7 @@ static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia) | |||
183 | } | 183 | } |
184 | } | 184 | } |
185 | 185 | ||
186 | generic_setattr(inode, ia); | 186 | setattr_copy(inode, ia); |
187 | out: | 187 | out: |
188 | ia->ia_valid = old_ia_valid; | 188 | ia->ia_valid = old_ia_valid; |
189 | return ret; | 189 | return ret; |