fix: block: merge struct block_device and struct hd_struct (v5.11)
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 13 Jan 2021 19:27:41 +0000 (14:27 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Jan 2021 20:26:30 +0000 (15:26 -0500)
commit6bcf4dc1770ccf4da479a1fd015cd474eda241eb
tree0c2bd0e24ff690588af72152bf847e25b8d96286
parent9e7078059c0f583c0e530b8fd3574d955548e5a5
fix: block: merge struct block_device and struct hd_struct (v5.11)

See upstream commit :

  commit 0d02129e76edf91cf04fabf1efbc3a9a1f1d729a
  Author: Christoph Hellwig <hch@lst.de>
  Date:   Fri Nov 27 16:43:51 2020 +0100

    block: merge struct block_device and struct hd_struct

    Instead of having two structures that represent each block device with
    different life time rules, merge them into a single one.  This also
    greatly simplifies the reference counting rules, as we can use the inode
    reference count as the main reference count for the new struct
    block_device, with the device model reference front ending it for device
    model interaction.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iaf663c689edb23905aeedc182d2aa268981f13dd
lttng-statedump-impl.c
This page took 0.025364 seconds and 4 git commands to generate.