]> 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)
commit5286d64b76898531be838a5c205bdce7da7479ee
tree5c0cc1ed6256c83c01dabbec7b2a75fc4148c191
parent7c2cca9e77a1560ae520ff71c9009ca563d9a606
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