ubifs: Reject unsupported ioctl flags explicitly
authorHou Tao <houtao1@huawei.com>
Sat, 9 Feb 2019 08:54:20 +0000 (16:54 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 24 Feb 2019 10:40:46 +0000 (11:40 +0100)
commit2fe8b2d5578d7d142982e3bf62e4c0caf8b8fe02
tree5c0cc1ed6256c83c01dabbec7b2a75fc4148c191
parent663586c0a8929db81e617c775823efb9d65f2bc2
ubifs: Reject unsupported ioctl flags explicitly

Reject unsupported ioctl flags explicitly, so the following command
on a regular ubifs file will fail:
chattr +d ubifs_file

And xfstests generic/424 will pass.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/ioctl.c