]> git.itanic.dy.fi Git - linux-stable/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)
commit0955901908e80384592ed85aa164d7e5be6cc067
treeac3f819f4291ab2c05d76521905f1f7cc625ec01
parent61bb4a1c417e5b95d9edb4f887f131de32e419cb
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: 351a0a3fbc35 ("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