diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2006-10-17 19:50:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-10-19 20:53:08 +0200 |
commit | 01de85e057328ecbef36e108673b1e81059d54c1 (patch) | |
tree | 0dbac62e48b2a2fa3f4ec4dea9b340ff31892a8c /mm/fadvise.c | |
parent | 6da61809822c22634a3de2dcb3c60283b836a88a (diff) | |
download | linux-01de85e057328ecbef36e108673b1e81059d54c1.tar.bz2 |
[PATCH] Add lockless helpers for remove_suid()
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>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions