From: Jens Axboe Date: Tue, 17 Oct 2006 17:50:36 +0000 (+0200) Subject: [PATCH] Add lockless helpers for remove_suid() X-Git-Tag: v2.6.19-rc3~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01de85e057328ecbef36e108673b1e81059d54c1;p=pandora-kernel.git [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 --- Reading git-diff-tree failed