]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
struct dentry: get rid of randomize_layout idiocy
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Nov 2023 04:10:18 +0000 (00:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Nov 2023 21:18:49 +0000 (16:18 -0500)
This is beyond ridiculous.  There is a reason why that thing is
cacheline-aligned...

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

index 3da2f0545d5d773c032388e80750c700d09b28f2..1d9f7f132055333847282249b636e3ba0ed0f8b2 100644 (file)
@@ -111,7 +111,7 @@ struct dentry {
                struct hlist_bl_node d_in_lookup_hash;  /* only for in-lookup ones */
                struct rcu_head d_rcu;
        } d_u;
-} __randomize_layout;
+};
 
 /*
  * dentry->d_lock spinlock nesting subclasses: