[PATCH] Add lockless helpers for remove_suid()
authorJens Axboe <jens.axboe@oracle.com>
Tue, 17 Oct 2006 17:50:36 +0000 (19:50 +0200)
committerJens 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