]> git.ipfire.org Git - people/ms/linux.git/commit - fs/exfat/exfat_fs.h
exfat: reuse __exfat_write_inode() to update directory entry
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Wed, 29 Jun 2022 01:51:40 +0000 (09:51 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 1 Aug 2022 01:14:05 +0000 (10:14 +0900)
commit23e6e1c9b373c164bf25d89c901eed2ac0d898a1
treecebd48f4f65a42a3fc7d12cf85f22c07605ac9eb
parent3d7cb6b04c3f3115719235cc6866b10326de34cd
exfat: reuse __exfat_write_inode() to update directory entry

__exfat_write_inode() is used to update file and stream directory
entries, except for file->start_clu and stream->flags.

This commit moves update file->start_clu and stream->flags to
__exfat_write_inode() and reuse __exfat_write_inode() to update
directory entries.

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Daniel Palmer <daniel.palmer@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/exfat_fs.h
fs/exfat/file.c
fs/exfat/inode.c
fs/exfat/namei.c