Re: [PATCH 2/5] fs: create proper filename objects using getname_kernel()

2015-01-21 Thread Paul Moore
On Tuesday, January 20, 2015 10:48:58 PM Sasha Levin wrote: > On 01/19/2015 03:08 PM, Paul Moore wrote: > > There are several areas in the kernel that create temporary filename > > > > objects using the following pattern: > > int func(const char *name) > > { > > > > struct

Re: [PATCH 2/5] fs: create proper filename objects using getname_kernel()

2015-01-20 Thread Sasha Levin
On 01/19/2015 03:08 PM, Paul Moore wrote: > There are several areas in the kernel that create temporary filename > objects using the following pattern: > > int func(const char *name) > { > struct filename *file = { .name = name }; > ... > retur