Skip to content

Commit

Permalink
fat: Fix the removal of opts->fs_dmask
Browse files Browse the repository at this point in the history
(ce3b0f8: New helper - current_umask())
is removing the opts->fs_dmask, probably it's a cut-and-paste
miss or something.

Signed-off-by: OGAWA Hirofumi <[email protected]>
  • Loading branch information
OGAWAHirofumi committed Jun 20, 2009
1 parent fb20871 commit 3e10760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3e10760

Please sign in to comment.