Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12174444 authored by Julia Lawall's avatar Julia Lawall Committed by Mike Marshall
Browse files

orangefs: constify xattr_handler structure



The xattr_handler structure is only stored in an array of const
structures.  Thus the xattr_handler structure itself can be
const.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 49e55713
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -442,7 +442,7 @@ static int orangefs_xattr_get_default(const struct xattr_handler *handler,

}

static struct xattr_handler orangefs_xattr_default_handler = {
static const struct xattr_handler orangefs_xattr_default_handler = {
	.prefix = "",  /* match any name => handlers called with full name */
	.get = orangefs_xattr_get_default,
	.set = orangefs_xattr_set_default,