Re: [PATCH 1/1 linux-next] udf: return inappropriate ioctl instead of argument error

2017-01-20 Thread Jan Kara
On Thu 19-01-17 21:41:37, Fabian Frederick wrote: > Currently, lsattr for instance in udf directory gives > "udf: Invalid argument While reading flags on ..." > > This patch removes argument testing and returns -ENOIOCTLCMD > when command is unknown to have more accurate message like this: >

Re: [PATCH 1/1 linux-next] udf: return inappropriate ioctl instead of argument error

2017-01-20 Thread Jan Kara
On Thu 19-01-17 21:41:37, Fabian Frederick wrote: > Currently, lsattr for instance in udf directory gives > "udf: Invalid argument While reading flags on ..." > > This patch removes argument testing and returns -ENOIOCTLCMD > when command is unknown to have more accurate message like this: >

[PATCH 1/1 linux-next] udf: return inappropriate ioctl instead of argument error

2017-01-19 Thread Fabian Frederick
Currently, lsattr for instance in udf directory gives "udf: Invalid argument While reading flags on ..." This patch removes argument testing and returns -ENOIOCTLCMD when command is unknown to have more accurate message like this: "Inappropriate ioctl for device While reading flags on ..." If arg

[PATCH 1/1 linux-next] udf: return inappropriate ioctl instead of argument error

2017-01-19 Thread Fabian Frederick
Currently, lsattr for instance in udf directory gives "udf: Invalid argument While reading flags on ..." This patch removes argument testing and returns -ENOIOCTLCMD when command is unknown to have more accurate message like this: "Inappropriate ioctl for device While reading flags on ..." If arg