4a5a67d [Backport 839a534f1e85] exfat: avoid incorrectly releasing for root inode

1 file Authored by Chen Li 5 months ago, Committed by pjgeorg 5 months ago,
1 file changed. 1 lines added. 1 lines removed.
    [Backport 839a534f1e85] exfat: avoid incorrectly releasing for root inode
    
    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>
    
        
file modified
+1 -1