Re: [PATCH 1/3 linux-next] udf: fix ioctl errors

2017-02-03 Thread Jan Kara
On Tue 24-01-17 21:48:34, Fabian Frederick wrote: > Currently, lsattr for instance in udf directory gives > "udf: Invalid argument While reading flags on ..." > > This patch returns -ENOIOCTLCMD > when command is unknown to have more accurate message like this: > "Inappropriate ioctl for device Wh

[PATCH 1/3 linux-next] udf: fix ioctl errors

2017-01-24 Thread Fabian Frederick
Currently, lsattr for instance in udf directory gives "udf: Invalid argument While reading flags on ..." This patch returns -ENOIOCTLCMD when command is unknown to have more accurate message like this: "Inappropriate ioctl for device While reading flags on ..." As suggested by Jan Kara, if arg is