Re: [PATCH v3 6/7] userns: Replace in_userns with current_in_userns

From
James Morris <jmorris@namei.org>
Date
2015-11-18 00:04:27
Also in
dm-devel, linux-bcache, linux-fsdevel, lkml, selinux
Reply to
Seth Forshee, 2015-11-17
On Tue, 17 Nov 2015, Seth Forshee wrote:
All current callers of in_userns pass current_user_ns as the
first argument. Simplify by replacing in_userns with
current_in_userns which checks whether current_user_ns is in the
namespace supplied as an argument.

Signed-off-by: Seth Forshee <redacted>
Nice cleanup.


Acked-by: James Morris <redacted>

-- 
James Morris
[off-list ref]
Thread (60 messages) 60 messages, 15 authors, last reply 2015-11-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help