diff options
| author | Thomas Bertschinger <[email protected]> | 2024-09-14 00:11:22 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-12-21 06:36:14 +0000 |
| commit | fe818d2039e74fac314e4032b51f057a7f313ad0 (patch) | |
| tree | f1b55d9760115c881a8411ac00a56858a75beb69 /fs/bcachefs/xattr.c | |
| parent | bcachefs: Delete dead code (diff) | |
| download | kernel-fe818d2039e74fac314e4032b51f057a7f313ad0.tar.gz kernel-fe818d2039e74fac314e4032b51f057a7f313ad0.zip | |
bcachefs: move bch2_xattr_handlers to .rodata
A series posted previously moved all of the `struct xattr_handler`
tables to .rodata for each filesystem [1].
However, this appears to have been done shortly before bcachefs was
merged, so bcachefs was missed at that time.
Link: https://lkml.kernel.org/r/[email protected] [1]
Cc: Wedson Almeida Filho <[email protected]>
Signed-off-by: Thomas Bertschinger <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/xattr.c')
| -rw-r--r-- | fs/bcachefs/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/xattr.c b/fs/bcachefs/xattr.c index 952aca400faf..bf3c6bb50495 100644 --- a/fs/bcachefs/xattr.c +++ b/fs/bcachefs/xattr.c @@ -609,7 +609,7 @@ static const struct xattr_handler bch_xattr_bcachefs_effective_handler = { #endif /* NO_BCACHEFS_FS */ -const struct xattr_handler *bch2_xattr_handlers[] = { +const struct xattr_handler * const bch2_xattr_handlers[] = { &bch_xattr_user_handler, &bch_xattr_trusted_handler, &bch_xattr_security_handler, |
