mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
fs/ntfs3: Remove impossible fault condition in fill_super
Remove root drop when we fault out. This can never happened because when we allocate root we eather fault when no root or success. Signed-off-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
7ea0481786
commit
5d7d6b16bc
@ -1295,12 +1295,6 @@ load_root:
|
||||
|
||||
out:
|
||||
iput(inode);
|
||||
|
||||
if (sb->s_root) {
|
||||
d_drop(sb->s_root);
|
||||
sb->s_root = NULL;
|
||||
}
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user