Merge tag 'x86-mm-2021-04-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-2.6-microblaze.git] / fs / ubifs / replay.c
index 0f8a6a1..4d17e53 100644 (file)
@@ -298,8 +298,8 @@ static int apply_replay_entry(struct ubifs_info *c, struct replay_entry *r)
  * entries @a and @b by comparing their sequence numer.  Returns %1 if @a has
  * greater sequence number and %-1 otherwise.
  */
-static int replay_entries_cmp(void *priv, struct list_head *a,
-                             struct list_head *b)
+static int replay_entries_cmp(void *priv, const struct list_head *a,
+                             const struct list_head *b)
 {
        struct ubifs_info *c = priv;
        struct replay_entry *ra, *rb;