ext4: don't hardcode bit values in EXT4_FL_USER_*
authorEric Biggers <ebiggers@google.com>
Mon, 13 Jul 2020 03:10:12 +0000 (20:10 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Aug 2020 05:17:25 +0000 (01:17 -0400)
commit2a12e147da38807f8aab03c92de99a70ab983a96
tree5e3b191f4b31ca4b97dc8107453b28380abf0d2f
parent11215630aada28307ba555a43138db6ac54fa825
ext4: don't hardcode bit values in EXT4_FL_USER_*

Define the EXT4_FL_USER_* constants by OR-ing together the appropriate
flags, rather than hard-coding a numeric value.  This makes it much
easier to see which flags are listed.

No change in the actual values.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200713031012.192440-1-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h