fs: define inode flags using bit numbers
authorEric Biggers <ebiggers@google.com>
Mon, 13 Jul 2020 03:09:52 +0000 (20:09 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Jul 2020 18:39:53 +0000 (14:39 -0400)
commit6414e9b09ffd197803f8e86ce2fafdaf1de4e8e4
treedf89077a32692532596ed2d49fd0c33e48a973ea
parent7999096fa9cfd0253497c8d2ed9a5a1537521d25
fs: define inode flags using bit numbers

Define the VFS inode flags using bit numbers instead of hardcoding
powers of 2, which has become unwieldy now that we're up to 65536.

No change in the actual values.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h