]> git.baikalelectronics.ru Git - kernel.git/commit
exfat: remove useless check in exfat_move_file()
authorTetsuhiro Kohada <kohada.t2@gmail.com>
Fri, 11 Sep 2020 04:45:06 +0000 (13:45 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 21 Oct 2020 23:29:12 +0000 (08:29 +0900)
commitd09e4eb798fdcd931ef5d7d0beed04d434bdf927
tree24be5516603b13088b4c242f2b166257b69114aa
parent27400bac4076cdade40a5d7be12b4fcfcae96cf9
exfat: remove useless check in exfat_move_file()

In exfat_move_file(), the identity of source and target directory has been
checked by the caller.
Also, it gets stream.start_clu from file dir-entry, which is an invalid
determination.

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/namei.c