diff options
author | Christian Brauner <brauner@kernel.org> | 2022-11-03 10:18:46 +0300 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2022-11-03 10:18:46 +0300 |
commit | 5b52aebef8954cadff29918bb61d7fdc7be07837 (patch) | |
tree | 2e2eafedc756efbeccf4eaedbf5afb3f4fe3309c /drivers/target | |
parent | 16257cf6658d5bde2a055caf48f143c255abade7 (diff) | |
download | linux-5b52aebef8954cadff29918bb61d7fdc7be07837.tar.xz |
ovl: call posix_acl_release() after error checking
The current placement of posix_acl_release() in ovl_set_or_remove_acl()
means it can be called on an error pointer instead of actual acls.
Fix this by moving the posix_acl_release() call after the error handling.
Fixes: 0e641857322f ("ovl: implement set acl method") # mainline only
Reported-by: syzbot+3f6ef1c4586bb6fd1f61@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions