]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'guilt/xfs-5.19-recovery-buf-cancel' into xfs-5.19-for-next
authorDave Chinner <david@fromorbit.com>
Mon, 30 May 2022 00:58:13 +0000 (10:58 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 30 May 2022 00:58:13 +0000 (10:58 +1000)
commitfd80828a491f989fde3a51da7b0f72e9379a86ea
tree9190f8fc1f806d3ae085d8f563db3239a8c25f02
parent10d9f049ccaac6d90c1f03168f21d759448891b4
parent59c2a63d8b2f542f6bc323f31fe01c612ea54b5e
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 <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>