X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=fs%2Fbtrfs%2Ftree-log.c;h=dbcf8bb2f3b9ae335989232e65b6620b2fa1d04a;hb=cc6cf827dd6858966cb5086703447cb68186650e;hp=324a9a078b6ae93f57b6bc6a83a6bc65e36e1a1b;hpb=aefd7f7065567a4666f42c0fc8cdb379d2e036bf;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 324a9a0..dbcf8bb 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -4157,7 +4157,8 @@ static noinline int copy_items(struct btrfs_trans_handle *trans, return ret; } -static int extent_cmp(void *priv, struct list_head *a, struct list_head *b) +static int extent_cmp(void *priv, const struct list_head *a, + const struct list_head *b) { struct extent_map *em1, *em2;