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

2015-01-22 Thread Richard Guy Briggs
On 15/01/22, 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 }; > ... > return 0; >

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

2015-01-22 Thread Richard Guy Briggs
On 15/01/22, 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 }; ... return 0; }

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

2015-01-21 Thread Paul Moore
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 }; ... return 0; } ... which for the most part

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

2015-01-21 Thread Paul Moore
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 }; ... return 0; } ... which for the most part