]> git.ipfire.org Git - thirdparty/linux.git/commit
correct the set of flags forbidden at d_set_d_op() time
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 23 Feb 2025 20:39:26 +0000 (15:39 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jun 2025 17:30:36 +0000 (13:30 -0400)
commita3e65fa2e31ec529febce0c9c4946d4fcbd416bf
treefbc037e031ddcdec440a0ca0db036d89645938b4
parentfcb1e72060391bde188f243b9c3115c78cbffa73
correct the set of flags forbidden at d_set_d_op() time

DCACHE_OP_PRUNE in ->d_flags at the time of d_set_d_op() should've
been treated the same as any other DCACHE_OP_... - we forgot to adjust
that WARN_ON() when DCACHE_OP_PRUNE had been introduced...

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c