Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54675
b: refs/heads/master
c: 1e8123f
h: refs/heads/master
i:
  54673: 79a2686
  54671: ca5e8f2
v: v3
  • Loading branch information
John Johansen authored and Linus Torvalds committed May 8, 2007
1 parent e010bf2 commit aa43c84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49a4ec188f9a96c9a5567956718213d38a456a19
refs/heads/master: 1e8123fdeda6b2b9e96f2ec56e7bed27a303d3eb
7 changes: 2 additions & 5 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,8 @@ static int proc_setattr(struct dentry *dentry, struct iattr *attr)
return -EPERM;

error = inode_change_ok(inode, attr);
if (!error) {
error = security_inode_setattr(dentry, attr);
if (!error)
error = inode_setattr(inode, attr);
}
if (!error)
error = inode_setattr(inode, attr);
return error;
}

Expand Down

0 comments on commit aa43c84

Please sign in to comment.