From 1ac49c4575727442db0d75424aec74e8554b83bc Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Oct 16 2020 13:46:13 +0000 Subject: Refresh patches.suse/btrfs-reduce-contention-on-log-trees-when-logging-ch.patch. This fixes the following compilation warning: ../fs/btrfs/tree-log.c: In function 'log_extent_csums': ../fs/btrfs/tree-log.c:4177:4: warning: passing argument 1 of 'BTRFS_I' from incompatible pointer type [enabled by default] This happened after a merge from SLE15-SP1 into SLE12-SP5, and the warning is exclusive to SLE12-SP5, due to differences in the btrfs code between the two branches. --- diff --git a/patches.suse/btrfs-reduce-contention-on-log-trees-when-logging-ch.patch b/patches.suse/btrfs-reduce-contention-on-log-trees-when-logging-ch.patch index ccc1978..88f0317 100644 --- a/patches.suse/btrfs-reduce-contention-on-log-trees-when-logging-ch.patch +++ b/patches.suse/btrfs-reduce-contention-on-log-trees-when-logging-ch.patch @@ -362,7 +362,7 @@ index fe2b8045c..4f5b08893 100644 list); if (!ret) - ret = log_csums(trans, log, sums); -+ ret = log_csums(trans, BTRFS_I(inode), log, sums); ++ ret = log_csums(trans, inode, log, sums); list_del(&sums->list); kfree(sums); }