]> git.ipfire.org Git - people/ms/linux.git/commit - fs/exfat/namei.c
exfat: eliminate dead code in exfat_find()
authorTetsuhiro Kohada <kohada.t2@gmail.com>
Wed, 2 Sep 2020 07:53:06 +0000 (16:53 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 21 Oct 2020 23:29:11 +0000 (08:29 +0900)
commit188df41f212c9282f6cb05b832383ffca3c66893
tree88f70773fa7d76c24bf712a3ef023b1d33e44efb
parent45882a6a0dbd1189defae1a449152f8a8168c274
exfat: eliminate dead code in exfat_find()

The exfat_find_dir_entry() called by exfat_find() doesn't return -EEXIST.
Therefore, the root-dir information setting is never executed.

Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/dir.c
fs/exfat/namei.c