Re: [PATCH] exfat: avoid incorrectly releasing for root inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2021-06-09 12:48 GMT+09:00, Chen Li <chenli@xxxxxxxxxxxxx>:
>
> 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@xxxxxxxxxxxxx>
merged into #dev, Thanks for your patch!



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux