summaryrefslogtreecommitdiffstats
path: root/fs/exfat/dir.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-06-10 20:22:13 +0300
committerNamjae Jeon <namjae.jeon@samsung.com>2020-06-29 17:11:05 +0900
commite8dd3cda8667118b70d9fe527f61fe22623de04d (patch)
tree2d69cb34596b1d3966b324739a8fcc9fa6d094df /fs/exfat/dir.c
parent4ba6ccd695f5ed3ae851e59b443b757bbe4557fe (diff)
downloadlinux-e8dd3cda8667118b70d9fe527f61fe22623de04d.tar.gz
linux-e8dd3cda8667118b70d9fe527f61fe22623de04d.tar.bz2
linux-e8dd3cda8667118b70d9fe527f61fe22623de04d.zip
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: 5f2aa075070c ("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>
Diffstat (limited to 'fs/exfat/dir.c')
0 files changed, 0 insertions, 0 deletions