Re: [PATCH v4 1/5] kobject: Export kobj_ns_grab_current() and kobj_ns_drop()

Greg Kroah-Hartman
2018-01-22T15:02:26Z

On Tue, Jan 16, 2018 at 10:39:41AM -0800, Bart Van Assche wrote:
> Make it possible to call these two functions from a kernel module.
> Note: despite their name, these two functions can be used meaningfully
> independent of kobjects. A later patch will add calls to these
> functions from the SRP driver because this patch series modifies the
> SRP driver such that it can hold a reference to a namespace that can
> last longer than the lifetime of the process through which the
> namespace reference was obtained.
>
> Signed-off-by: Bart Van Assche <bart.vanassche-Sjgp3cTcYWE@public.gmane.org>
> Cc: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>

Acked-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>