linux/fs/exfat
Dan Carpenter e8dd3cda86 exfat: add missing brelse() calls on error paths
If the second exfat_get_dentry() call fails then we need to release
"old_bh" before returning.  There is a similar bug in exfat_move_file().

Fixes: 5f2aa07507 ("exfat: add inode operations")
Reported-by: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-06-29 17:11:05 +09:00
..
balloc.c exfat: Use a more common logging style 2020-06-09 16:48:34 +09:00
cache.c exfat: add exfat cache 2020-03-05 21:00:40 -05:00
dir.c exfat: Set the unused characters of FileName field to the value 0000h 2020-06-29 17:11:00 +09:00
exfat_fs.h exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
exfat_raw.h exfat: separate the boot sector analysis 2020-06-09 16:49:14 +09:00
fatent.c exfat: fix range validation error in alloc and free cluster 2020-06-09 16:50:12 +09:00
file.c exfat: fix incorrect update of stream entry in __exfat_truncate() 2020-06-09 16:50:07 +09:00
inode.c Description for this pull request: 2020-06-09 11:24:59 -07:00
Kconfig exfat: Improve wording of EXFAT_DEFAULT_IOCHARSET config option 2020-06-09 16:48:39 +09:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
misc.c exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
namei.c exfat: add missing brelse() calls on error paths 2020-06-29 17:11:05 +09:00
nls.c exfat: Fix potential use after free in exfat_load_upcase_table() 2020-06-09 16:50:18 +09:00
super.c exfat: fix memory leak in exfat_parse_param() 2020-06-09 16:50:02 +09:00