Commit 3e107603aecf886e1e5bda9dacbd9796eb2a2171
1 parent
fb20871a54
Exists in
master
and in
4 other branches
fat: Fix the removal of opts->fs_dmask
(ce3b0f8d5c2203301fc87f3aaaed73e5819e2a48: 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 <hirofumi@mail.parknet.co.jp>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/fat/inode.c
... | ... | @@ -966,7 +966,7 @@ |
966 | 966 | |
967 | 967 | opts->fs_uid = current_uid(); |
968 | 968 | opts->fs_gid = current_gid(); |
969 | - opts->fs_fmask = current_umask(); | |
969 | + opts->fs_fmask = opts->fs_dmask = current_umask(); | |
970 | 970 | opts->allow_utime = -1; |
971 | 971 | opts->codepage = fat_default_codepage; |
972 | 972 | opts->iocharset = fat_default_iocharset; |