Browse Source

Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6:
  fat: Fix the removal of opts->fs_dmask
Linus Torvalds 16 years ago
parent
commit
a552f0af75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/fat/inode.c

+ 1 - 1
fs/fat/inode.c

@@ -966,7 +966,7 @@ static int parse_options(char *options, int is_vfat, int silent, int *debug,
 
 
 	opts->fs_uid = current_uid();
 	opts->fs_uid = current_uid();
 	opts->fs_gid = current_gid();
 	opts->fs_gid = current_gid();
-	opts->fs_fmask = current_umask();
+	opts->fs_fmask = opts->fs_dmask = current_umask();
 	opts->allow_utime = -1;
 	opts->allow_utime = -1;
 	opts->codepage = fat_default_codepage;
 	opts->codepage = fat_default_codepage;
 	opts->iocharset = fat_default_iocharset;
 	opts->iocharset = fat_default_iocharset;