author: Sami Tolvanen <samitolvanen@google.com> 2021-04-08 11:28:34 -0700
committer: Kees Cook <keescook@chromium.org> 2021-04-08 16:04:22 -0700
commit: 4f0f586bf0c898233d8f316f471a21db2abd522d
parent: 9f5b4009980f369acb80b72235b2d66c3fd6eca6
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c
index 4c2a9fe30067..4493ef0c715e 100644
--- a/fs/ext4/fsmap.c
+++ b/fs/ext4/fsmap.c
@@ -354,8 +354,8 @@ static unsigned int ext4_getfsmap_find_sb(struct super_block *sb,
/* Compare two fsmap items. */
static int ext4_getfsmap_compare(void *priv,
- struct list_head *a,
- struct list_head *b)
+ const struct list_head *a,
+ const struct list_head *b)
{
struct ext4_fsmap *fa;
struct ext4_fsmap *fb;