exfat: move setting VOL_DIRTY over exfat_remove_entries()
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 17 Jun 2020 03:17:18 +0000 (12:17 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 29 Jun 2020 08:11:13 +0000 (17:11 +0900)
commit3bcfb701099acf96b0e883bf5544f96af473aa1d
treeafe3d9bf979a4b77983e634cd3787579fc4dced3
parenta0271a15cf2cf907ea5b0f2ba611123f1b7935ec
exfat: move setting VOL_DIRTY over exfat_remove_entries()

Move setting VOL_DIRTY over exfat_remove_entries() to avoid unneeded
leaving VOL_DIRTY on -ENOTEMPTY.

Fixes: 5f2aa075070c ("exfat: add inode operations")
Cc: stable@vger.kernel.org # v5.7
Reported-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/namei.c