author: Hyeongseok Kim <hyeongseok@gmail.com> 2021-03-15 13:12:55 +0900
committer: Namjae Jeon <namjae.jeon@samsung.com> 2021-04-27 20:45:06 +0900
commit: 23befe490ba885bdf757d40b2489134315fef690
parent: 654762df2ec7d61b05acc788afbffaba52d658fe
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/exfat/inode.c b/fs/exfat/inode.c
index 730373e0965a..1803ef3220fd 100644
--- a/fs/exfat/inode.c
+++ b/fs/exfat/inode.c
@@ -179,7 +179,8 @@ static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset,
return -EIO;
}
- ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu);
+ ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu,
+ inode_needs_sync(inode));
if (ret)
return ret;