commit | 867c1fe0187f6df4dca84a34332e00f21ef80f69 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Thu Sep 14 12:47:44 2023 +0300 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:10:14 2023 -0400 |
tree | ddc4595495f076ad108b98941e59ec0a86ebb2aa | |
parent | 4ba985b84de627ba4f257c9843d0dd7146df2180 [diff] |
bcachefs: fix error checking in bch2_fs_alloc() There is a typo here where it uses ";" instead of "?:". The result is that bch2_fs_fs_io_direct_init() is called unconditionally and the errors from it are not checked. Fixes: 0060c68159fc ("bcachefs: Split up fs-io.[ch]") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Reviewed-by: Brian Foster <bfoster@redhat.com>