diff options
author | Kari Argillander <kari.argillander@gmail.com> | 2021-09-09 21:09:34 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-09-20 18:53:09 +0300 |
commit | 5d7d6b16bc1dbe0f84997e639c49b5ed98a562f7 (patch) | |
tree | c0cfc33cab3dee9252422978e12cc54181ccccf9 /fs/ntfs3 | |
parent | 7ea04817866a5ac369f1a33d1b86d06a695aaedb (diff) |
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>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r-- | fs/ntfs3/super.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 642bd63932d0..ad185c723c0e 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -1295,12 +1295,6 @@ load_root: out: iput(inode); - - if (sb->s_root) { - d_drop(sb->s_root); - sb->s_root = NULL; - } - return err; } |