]> git.ipfire.org Git - thirdparty/linux.git/commit
devpts, sunrpc, hostfs: don't bother with ->d_op
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 24 Feb 2025 01:55:05 +0000 (20:55 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jun 2025 17:40:04 +0000 (13:40 -0400)
commitfe3c5120d6e32f73b5a4be2d14cb4839ce4116e0
tree707f80e4f438520108982c6fc8709aaeb6be070a
parent3542920b91831974e3b9b3ce4bc083657a4f43d6
devpts, sunrpc, hostfs: don't bother with ->d_op

Default ->d_op being simple_dentry_operations is equivalent to leaving
it NULL and putting DCACHE_DONTCACHE into ->s_d_flags.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/devpts/inode.c
fs/hostfs/hostfs_kern.c
net/sunrpc/rpc_pipe.c