]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: exfat: Ensure we unlock upon error in ffsReadFile
authorDavidlohr Bueso <dave@stgolabs.net>
Sun, 3 Nov 2019 18:09:21 +0000 (10:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Nov 2019 18:40:09 +0000 (19:40 +0100)
commit6647e4e84501e7f935f108729da9a6fd60924d8b
tree6181ad7a1d6129951c5a57c5f5f24f4ad7195d71
parent19c1e145a436ac316f1556ebc229f08f333bc60c
staging: exfat: Ensure we unlock upon error in ffsReadFile

The call was not releasing the mutex upon error.

Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Acked-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Link: https://lore.kernel.org/r/20191103180921.2844-1-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c