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

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, 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: [RFC PATCH 2/5] fs: create proper filename objects using getname_kernel()

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, 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; }

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

2015-01-08 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

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

2015-01-08 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