diff options
Diffstat (limited to 'fs/sysv/file.c')
-rw-r--r-- | fs/sysv/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/file.c b/fs/sysv/file.c index 82ddc09061e2..7ba997e31aeb 100644 --- a/fs/sysv/file.c +++ b/fs/sysv/file.c | |||
@@ -33,7 +33,7 @@ static int sysv_setattr(struct dentry *dentry, struct iattr *attr) | |||
33 | struct inode *inode = d_inode(dentry); | 33 | struct inode *inode = d_inode(dentry); |
34 | int error; | 34 | int error; |
35 | 35 | ||
36 | error = inode_change_ok(inode, attr); | 36 | error = setattr_prepare(dentry, attr); |
37 | if (error) | 37 | if (error) |
38 | return error; | 38 | return error; |
39 | 39 | ||