[go: nahoru, domu]

ext4: fix fc_track_create call in ext4_create

In case of error, don't call ext4_fc_track_create().

BUG=b/180027487
TEST=Before this fix, generic/027 made the kernel crash. After the fix,
the kernel doesn't crash and the test passes.
RELEASE_NOTE=Fixed a kernel crash due to fast commit changes.

cos-patch: bug
Signed-off-by: Harshad Shirwadkar <harshads@google.com>
Change-Id: Iaa777b73bcc330284053af6674dd9a26b3420b24
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/12330
Reviewed-by: Vaibhav Rustagi <vaibhavrustagi@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
(cherry picked from commit 5e36a0271c07d1dcb8aa497bd8e76937222431b8)
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/12370
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Leah Rumancik <lrumancik@google.com>
1 file changed