diff options
-rw-r--r-- | fs/fat/inode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 0ce143bd7d5..c611818893b 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -1497,10 +1497,8 @@ out_fail: | |||
1497 | iput(fat_inode); | 1497 | iput(fat_inode); |
1498 | if (root_inode) | 1498 | if (root_inode) |
1499 | iput(root_inode); | 1499 | iput(root_inode); |
1500 | if (sbi->nls_io) | 1500 | unload_nls(sbi->nls_io); |
1501 | unload_nls(sbi->nls_io); | 1501 | unload_nls(sbi->nls_disk); |
1502 | if (sbi->nls_disk) | ||
1503 | unload_nls(sbi->nls_disk); | ||
1504 | if (sbi->options.iocharset != fat_default_iocharset) | 1502 | if (sbi->options.iocharset != fat_default_iocharset) |
1505 | kfree(sbi->options.iocharset); | 1503 | kfree(sbi->options.iocharset); |
1506 | sb->s_fs_info = NULL; | 1504 | sb->s_fs_info = NULL; |