From: Kari Argillander Date: Thu, 9 Sep 2021 18:09:34 +0000 (+0300) Subject: fs/ntfs3: Remove impossible fault condition in fill_super X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5d7d6b16bc1dbe0f84997e639c49b5ed98a562f7;p=linux.git 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 Signed-off-by: Konstantin Komarov --- diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 642bd63932d09..ad185c723c0ee 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; }