diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 54e270262979..207f36039f63 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -709,7 +709,7 @@ int proc_setattr(struct dentry *dentry, struct iattr *attr) | |||
709 | if (attr->ia_valid & ATTR_MODE) | 709 | if (attr->ia_valid & ATTR_MODE) |
710 | return -EPERM; | 710 | return -EPERM; |
711 | 711 | ||
712 | error = inode_change_ok(inode, attr); | 712 | error = setattr_prepare(dentry, attr); |
713 | if (error) | 713 | if (error) |
714 | return error; | 714 | return error; |
715 | 715 | ||