procfs: kill ->proc_dops
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Feb 2025 21:04:47 +0000 (16:04 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jun 2025 02:08:05 +0000 (22:08 -0400)
commit5943c611c47c9444e834555c867dec744158b7ad
treeddbda436f0a38eef129bb0bad8ee7d2094578724
parent5e317d23f6c6c4b59d84e228a2271228e81cc797
procfs: kill ->proc_dops

It has two possible values - one for "forced lookup" entries, another
for the normal ones.  We'd be better off with that as an explicit
flag anyway and in addition to that it opens some fun possibilities
with ->d_op and ->d_flags handling.

[moved PROC_ENTRY_FORCE_LOOKUP to include/linux/proc_fs.h, switched it
to an unused bit - there was a conflict]

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/generic.c
fs/proc/internal.h
include/linux/proc_fs.h