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) > > { > > > >

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 filename

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 }; > ... >

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 }; ... return 0;

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

2015-01-19 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 2/5] fs: create proper filename objects using getname_kernel()

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

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