bcachefs: Fix a null ptr deref in check_xattr()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 20 Jul 2023 23:30:53 +0000 (19:30 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:08 +0000 (17:10 -0400)
commit2a89a3e9682b127c1978ac31eb38ef73a39a416e
tree7b61ce1a130c78ef8866299d87546db0ed915aca
parent8e992c6c1f3869d0b33c754d4b6730603d3586c4
bcachefs: Fix a null ptr deref in check_xattr()

We were attempting to initialize inode hash info when no inodes were
found.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c