[PATCH 2/2] staging: lustre: replace ll_{get, put}name() with {get, put}name()

2015-04-21 Thread Boqun Feng
As pointed by Al Viro: https://lkml.org/lkml/2015/4/11/243 There are bugs in ll_getname() because of wrong assumptions of returning values from strncpy_from_user(). Moreover, what ll_getname want to do is just to try copy the file name from userland. Since we already have getname() for the same

Re: [PATCH 2/2] staging: lustre: replace ll_{get,put}name() with {get,put}name()

2015-04-21 Thread Dilger, Andreas
On 2015/04/21, 9:50 PM, Boqun Feng boqun.f...@gmail.com wrote: As pointed by Al Viro: https://lkml.org/lkml/2015/4/11/243 There are bugs in ll_getname() because of wrong assumptions of returning values from strncpy_from_user(). Moreover, what ll_getname want to do is just to try copy the file