From: Dave Chinner Date: Mon, 30 May 2022 00:58:13 +0000 (+1000) Subject: Merge branch 'guilt/xfs-5.19-recovery-buf-cancel' into xfs-5.19-for-next X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=621dc801df4c2e523a66c96b250e0133ed7da90e;p=linux.git Merge branch 'guilt/xfs-5.19-recovery-buf-cancel' into xfs-5.19-for-next As part of solving the memory leaks and UAF problems in the new LARP code, kmemleak also reported that log recovery will leak the table used to hash buffer cancellations if the recovery fails. Fix this problem by creating alloc/free helpers that initialize and free the hashtable contents correctly. Signed-off-by: Darrick J. Wong Signed-off-by: Dave Chinner --- 621dc801df4c2e523a66c96b250e0133ed7da90e