OrangePi_CM5/fs/exfat
Chen Li 9eeaa2d7d5 exfat: avoid incorrectly releasing for root inode
commit 839a534f1e853f1aec100d06040c0037b89c2dc3 upstream.

In d_make_root, when we fail to allocate dentry for root inode,
we will iput root inode and returned value is NULL in this function.

So we do not need to release this inode again at d_make_root's caller.

Signed-off-by: Chen Li <chenli@uniontech.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Cc: Tadeusz Struk <tadeusz.struk@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-28 09:57:07 +02:00
..
Kconfig
…
Makefile
…
balloc.c
…
cache.c
…
dir.c
…
exfat_fs.h
…
exfat_raw.h
…
fatent.c
…
file.c exfat: fix i_blocks for files truncated over 4 GiB 2022-03-08 19:09:30 +01:00
inode.c exfat: fix i_blocks for files truncated over 4 GiB 2022-03-08 19:09:30 +01:00
misc.c
…
namei.c exfat: reuse exfat_inode_info variable instead of calling EXFAT_I() 2022-03-08 19:09:30 +01:00
nls.c
…
super.c exfat: avoid incorrectly releasing for root inode 2022-03-28 09:57:07 +02:00