bcachefs: .get_parent() should return an error pointer
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 2 Nov 2023 20:54:00 +0000 (16:54 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 5 Nov 2023 02:19:13 +0000 (22:19 -0400)
commitce3e9a8a10086b28444cab1431dfc926787ecfcb
tree8242cc428def988b47ecc7a5c0283e37d3238110
parent4bd156c4b44ef34bd57d20a0a48aad829e1c54c1
bcachefs: .get_parent() should return an error pointer

Delete the useless check for inum == 0; we'll return -ENOENT without it,
which is what we want.

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