gfs2: move gfs2_xattr_handlers_max to .rodata
authorWedson Almeida Filho <walmeida@microsoft.com>
Sat, 30 Sep 2023 05:00:16 +0000 (02:00 -0300)
committerChristian Brauner <brauner@kernel.org>
Mon, 9 Oct 2023 14:24:18 +0000 (16:24 +0200)
commit89491fafa81c7c4e6aeb8f1a21903bc65b77515e
tree1f0b1365e7d58a2bf5cbebbfbf000d2c82f5c328
parent34271edb18787d0b7d0f14c505468378de7efb4d
gfs2: move gfs2_xattr_handlers_max to .rodata

This makes it harder for accidental or malicious changes to
gfs2_xattr_handlers_max at runtime.

Cc: Bob Peterson <rpeterso@redhat.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: cluster-devel@redhat.com
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20230930050033.41174-13-wedsonaf@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/gfs2/super.h
fs/gfs2/xattr.c