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 14:29:47 +0000 (09:29 -0500)
commitfef7fe6ab7d3a9bb2e218fd41277b43dbb3de01a
tree9fd46a0cfe52b782213f3221c47ee74406452bed
parent087269072e2d96540d137789a6c91687edeb33bd
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.

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