ext4: mballoc: simplify error handling in ext4_init_mballoc()
authorRitesh Harjani <riteshh@linux.ibm.com>
Sun, 10 May 2020 06:24:46 +0000 (11:54 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:51 +0000 (23:16 -0400)
commitf283529abac45d8c2b4d4b69d356cca9e6a2de43
treeb358501870863b4d10776aad672117015e683de5
parent004379d0b02ab8e8efbee1f2f878d5f578bed72c
ext4: mballoc: simplify error handling in ext4_init_mballoc()

This patch simplifies error handling logic in ext4_init_mballoc(),
by adding all the cleanups at one place at the end of that function.

There should be no functionality change in this patch.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/8621a7bc68f7107a9ac4292afeb784515333bd25.1589086800.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c