diff options
Diffstat (limited to 'fs/ramfs/file-nommu.c')
-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 ba1323a94924..aab2593f3179 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -168,7 +168,7 @@ static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia) | |||
168 | int ret = 0; | 168 | int ret = 0; |
169 | 169 | ||
170 | /* POSIX UID/GID verification for setting inode attributes */ | 170 | /* POSIX UID/GID verification for setting inode attributes */ |
171 | ret = inode_change_ok(inode, ia); | 171 | ret = setattr_prepare(dentry, ia); |
172 | if (ret) | 172 | if (ret) |
173 | return ret; | 173 | return ret; |
174 | 174 | ||