Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e107603 authored by OGAWA Hirofumi's avatar OGAWA Hirofumi
Browse files

fat: Fix the removal of opts->fs_dmask



(ce3b0f8d: New helper - current_umask())
is removing the opts->fs_dmask, probably it's a cut-and-paste
miss or something.

Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
parent fb20871a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -966,7 +966,7 @@ static int parse_options(char *options, int is_vfat, int silent, int *debug,

	opts->fs_uid = current_uid();
	opts->fs_gid = current_gid();
	opts->fs_fmask = current_umask();
	opts->fs_fmask = opts->fs_dmask = current_umask();
	opts->allow_utime = -1;
	opts->codepage = fat_default_codepage;
	opts->iocharset = fat_default_iocharset;