]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit157151680cefb96b5d3399b19ea8dc320ddc77bc
tree5c0cc1ed6256c83c01dabbec7b2a75fc4148c191
parent990f1e173a116a40b4b9d84cc0301e1a15cd5549
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