Re: [PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-09 Thread Jan Kara
On Thu 09-04-15 10:51:05, Jan Kara wrote: > On Wed 08-04-15 21:23:57, Fabian Frederick wrote: > > udf_get_filename() and its callsites considered 0 as an error > > without propagating an error value. > > > > udf_translate_to_linux() now returns -EINVAL when newIndex is 0. > > other functions are

Re: [PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-09 Thread Jan Kara
On Wed 08-04-15 21:23:57, Fabian Frederick wrote: > udf_get_filename() and its callsites considered 0 as an error > without propagating an error value. > > udf_translate_to_linux() now returns -EINVAL when newIndex is 0. > other functions are updated accordingly. > > Signed-off-by: Fabian

Re: [PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-09 Thread Jan Kara
On Wed 08-04-15 21:23:57, Fabian Frederick wrote: udf_get_filename() and its callsites considered 0 as an error without propagating an error value. udf_translate_to_linux() now returns -EINVAL when newIndex is 0. other functions are updated accordingly. Signed-off-by: Fabian Frederick

Re: [PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-09 Thread Jan Kara
On Thu 09-04-15 10:51:05, Jan Kara wrote: On Wed 08-04-15 21:23:57, Fabian Frederick wrote: udf_get_filename() and its callsites considered 0 as an error without propagating an error value. udf_translate_to_linux() now returns -EINVAL when newIndex is 0. other functions are updated

[PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-08 Thread Fabian Frederick
udf_get_filename() and its callsites considered 0 as an error without propagating an error value. udf_translate_to_linux() now returns -EINVAL when newIndex is 0. other functions are updated accordingly. Signed-off-by: Fabian Frederick --- fs/udf/dir.c | 2 +- fs/udf/namei.c | 2 +-

[PATCH V2 7/9 linux-next] udf: return error when newIndex is 0 in udf_translate_to_linux()

2015-04-08 Thread Fabian Frederick
udf_get_filename() and its callsites considered 0 as an error without propagating an error value. udf_translate_to_linux() now returns -EINVAL when newIndex is 0. other functions are updated accordingly. Signed-off-by: Fabian Frederick f...@skynet.be --- fs/udf/dir.c | 2 +- fs/udf/namei.c