diff options
author | NeilBrown <neilb@suse.de> | 2025-02-06 16:42:44 +1100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-02-10 10:41:00 +0100 |
commit | 2c3230fb8db9bf04d97a907f2fb86adb1e74e431 (patch) | |
tree | c7f3d70c6191523f9b0b70641762d5d3d87467ac /drivers/base/devtmpfs.c | |
parent | 9748cb2dc393e9095c39d6de0786c7b4e07b2530 (diff) |
VFS: repack LOOKUP_ bit flags.
The LOOKUP_ bits are not in order, which can make it awkward when adding
new bits. Two bits have recently been added to the end which makes them
look like "scoping flags", but in fact they aren't.
Also LOOKUP_PARENT is described as "internal use only" but is used in
fs/nfs/
This patch:
- Moves these three flags into the "pathwalk mode" section
- changes all bits to use the BIT(n) macro
- Allocates bits in order leaving gaps between the sections,
and documents those gaps.
Signed-off-by: NeilBrown <neilb@suse.de>
Link: https://lore.kernel.org/r/20250206054504.2950516-8-neilb@suse.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/base/devtmpfs.c')
0 files changed, 0 insertions, 0 deletions