git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6da6180
)
[PATCH] Add lockless helpers for remove_suid()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 17 Oct 2006 17:50:36 +0000
(19:50 +0200)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Thu, 19 Oct 2006 18:53:08 +0000
(20:53 +0200)
Right now users have to grab i_mutex before calling remove_suid(), in the
unlikely event that a call to ->setattr() may be needed. Split up the
function in two parts:
- One to check if we need to remove suid
- One to actually remove it
The first we can call lockless.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
No differences found