bcachefs: bch_dev->dev
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 3 Jan 2022 02:45:35 +0000 (21:45 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:21 +0000 (17:09 -0400)
commiteacb2574f09f5b71acc468d44e7a1633847fd08d
tree75687f60a2545798197e1821fc526d9c7bf464dd
parentd8601afca840d36203d0cf2da94ce4f92003956e
bcachefs: bch_dev->dev

Add a field to bch_dev for the dev_t of the underlying block device -
this fixes a null ptr deref in tracepoints.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/bcachefs.h
fs/bcachefs/chardev.c
fs/bcachefs/super.c
fs/bcachefs/trace.h