Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105868
b: refs/heads/master
c: 8d44d97
h: refs/heads/master
v: v3
  • Loading branch information
OGAWA Hirofumi authored and Linus Torvalds committed Jul 25, 2008
1 parent cdc5ba6 commit 89d6899
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3264d4ded4d916d294d776b77b72d477c63ac3be
refs/heads/master: 8d44d9741f6808c107a144f469fb89e6fe7c55e3
7 changes: 5 additions & 2 deletions trunk/fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ static int parse_options(char *options, int is_vfat, int silent, int *debug,
*debug = 0;

if (!options)
return 0;
goto out;

while ((p = strsep(&options, ",")) != NULL) {
int token;
Expand Down Expand Up @@ -1104,10 +1104,13 @@ static int parse_options(char *options, int is_vfat, int silent, int *debug,
return -EINVAL;
}
}

out:
/* UTF-8 doesn't provide FAT semantics */
if (!strcmp(opts->iocharset, "utf8")) {
printk(KERN_ERR "FAT: utf8 is not a recommended IO charset"
" for FAT filesystems, filesystem will be case sensitive!\n");
" for FAT filesystems, filesystem will be "
"case sensitive!\n");
}

/* If user doesn't specify allow_utime, it's initialized from dmask. */
Expand Down

0 comments on commit 89d6899

Please sign in to comment.