Commit 178c487
Kent Overstreet
bcachefs: Fix error path in bch2_mount()
This fixes a bug discovered by generic/388 where sb->s_fs_info was NULL
while the superblock was still active - the error path was entirely
fubar, and was trying to do something unclear and unecessary.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent b783fc4 commit 178c487
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
1926 | | - | |
1927 | 1925 | | |
1928 | | - | |
1929 | 1926 | | |
1930 | 1927 | | |
1931 | 1928 | | |
1932 | 1929 | | |
1933 | 1930 | | |
1934 | 1931 | | |
1935 | 1932 | | |
1936 | | - | |
1937 | | - | |
1938 | 1933 | | |
1939 | | - | |
1940 | | - | |
| 1934 | + | |
1941 | 1935 | | |
1942 | 1936 | | |
1943 | 1937 | | |
| |||
0 commit comments