]> git.itanic.dy.fi Git - linux-stable/commit
bcachefs: acl: Uninitialized variable in bch2_acl_chmod()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 15 Sep 2023 12:55:40 +0000 (15:55 +0300)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:14 +0000 (17:10 -0400)
commite9a0a26ed05a93034f3d49374dd5ef943db2d5b7
tree753d34c6401d9d2a4e883301d726bee946de1b21
parent265cc423155d56030e44068680085adb59800326
bcachefs: acl: Uninitialized variable in bch2_acl_chmod()

The clean up code at the end of the function uses "acl" so it needs
to be initialized to NULL.

Fixes: 53306e096d91 ("bcachefs: Always check for transaction restarts")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/acl.c