summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChen Li <chenli@uniontech.com>2021-06-09 11:48:55 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-28 09:57:07 +0200
commit9eeaa2d7d58ae7fe66bdb016a03fe251c48fe222 (patch)
tree206e8b17197b15c41e6ae7550e156c4947b0c30f /kernel
parentae8ec5eabb1a0e672e054ef50374f3d8508d6828 (diff)
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions