]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix flags validity checking for EXT4_IOC_CHECKPOINT
authorTheodore Ts'o <tytso@mit.edu>
Fri, 2 Jul 2021 17:21:06 +0000 (13:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Jul 2021 12:37:31 +0000 (08:37 -0400)
commitcdc672ba7e240780c8fe839787527fd603496bb5
treeac3f819f4291ab2c05d76521905f1f7cc625ec01
parent7f7f86c4b6d7800f6dc4065cb072438fa6f9a696
ext4: fix flags validity checking for EXT4_IOC_CHECKPOINT

Use the correct bitmask when checking for any not-yet-supported flags.

Link: https://lore.kernel.org/r/20210702173425.1276158-1-tytso@mit.edu
Fixes: dbb6cb69923e ("ext4: add ioctl EXT4_IOC_CHECKPOINT")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Leah Rumancik <leah.rumancik@gmail.com>
fs/ext4/ioctl.c