exfat: remove duplicate write inode for truncating file
This commit moves updating file attributes and timestamps before calling __exfat_write_inode(), so that all updates of the inode had been written by __exfat_write_inode(), mark_inode_dirty() is unneeded. Signed-off-by: NYuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: NAndy Wu <Andy.Wu@sony.com> Reviewed-by: NAoyama Wataru <wataru.aoyama@sony.com> Reviewed-by: NDaniel Palmer <daniel.palmer@sony.com> Reviewed-by: NSungjong Seo <sj1557.seo@samsung.com> Signed-off-by: NNamjae Jeon <linkinjeon@kernel.org>
Showing
想要评论请 注册 或 登录