Re: [PATCH 3/3] fs: fat: carve out fat_create_dir_entry()

2022-07-13 Thread AKASHI Takahiro
On Tue, Jul 12, 2022 at 10:33:14PM +, Heinrich Schuchardt wrote: > fat_mkdir() and file_fat_write_at() use identical code to create a new > directory entry. Carve out a new function fat_create_dir_entry() to avoid > this code duplication. Why not merge your patch[1] here as you're going to new

[PATCH 3/3] fs: fat: carve out fat_create_dir_entry()

2022-07-12 Thread Heinrich Schuchardt
fat_mkdir() and file_fat_write_at() use identical code to create a new directory entry. Carve out a new function fat_create_dir_entry() to avoid this code duplication. Signed-off-by: Heinrich Schuchardt --- fs/fat/fat_write.c | 93 -- 1 file changed, 4