diff options
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 37a8af159a13..6b74d09adbe5 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -928,8 +928,8 @@ static int parse_options(char *options, int is_vfat, int silent, int *debug, | |||
928 | 928 | ||
929 | opts->isvfat = is_vfat; | 929 | opts->isvfat = is_vfat; |
930 | 930 | ||
931 | opts->fs_uid = current->uid; | 931 | opts->fs_uid = current_uid(); |
932 | opts->fs_gid = current->gid; | 932 | opts->fs_gid = current_gid(); |
933 | opts->fs_fmask = opts->fs_dmask = current->fs->umask; | 933 | opts->fs_fmask = opts->fs_dmask = current->fs->umask; |
934 | opts->allow_utime = -1; | 934 | opts->allow_utime = -1; |
935 | opts->codepage = fat_default_codepage; | 935 | opts->codepage = fat_default_codepage; |