udf: Fix meaning of ENTITYID_FLAGS_* macros to be really bitwise-or flags
authorPali Rohár <pali.rohar@gmail.com>
Sun, 12 Jan 2020 22:13:53 +0000 (23:13 +0100)
committerJan Kara <jack@suse.cz>
Mon, 13 Jan 2020 11:38:46 +0000 (12:38 +0100)
commit49be68c4931d9f0f171e5f01a574fc40205db2b5
treeb165a3452f1b66c802cd5073311802eb5038fb46
parenta4a8b99ec819ca60b49dc582a4287ef03411f117
udf: Fix meaning of ENTITYID_FLAGS_* macros to be really bitwise-or flags

Currently ENTITYID_FLAGS_* macros definitions are written as hex numbers
but their meaning is not bitwise-or flags. But rather bit position. This is
unusual and could be misleading. So change meaning of ENTITYID_FLAGS_*
macros definitions to be really bitwise-or flags.

Link: https://lore.kernel.org/r/20200112221353.29711-1-pali.rohar@gmail.com
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/ecma_167.h
fs/udf/super.c