summaryrefslogtreecommitdiffstats
path: root/fs/fat/inode.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-24 07:41:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-24 07:41:47 -0700
commit3e766fd41ddc31c47ec5b2840c6a45803d35ff40 (patch)
treef007442f20757918aa024dda848baa7670baa580 /fs/fat/inode.c
parent4fd5ec509bd486b5dd8cac1a4d4d7e2cbdf7c546 (diff)
parent7845bc3e132605e3e8a1f37748e29281164b65f5 (diff)
downloadblackbird-op-linux-3e766fd41ddc31c47ec5b2840c6a45803d35ff40.tar.gz
blackbird-op-linux-3e766fd41ddc31c47ec5b2840c6a45803d35ff40.zip
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: convert to unlocked_ioctl fat: Cleanup nls_unload() usage fat: use pack_hex_byte() instead of custom one
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r--fs/fat/inode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 0ce143bd7d56..c611818893b2 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1497,10 +1497,8 @@ out_fail:
iput(fat_inode);
if (root_inode)
iput(root_inode);
- if (sbi->nls_io)
- unload_nls(sbi->nls_io);
- if (sbi->nls_disk)
- unload_nls(sbi->nls_disk);
+ unload_nls(sbi->nls_io);
+ unload_nls(sbi->nls_disk);
if (sbi->options.iocharset != fat_default_iocharset)
kfree(sbi->options.iocharset);
sb->s_fs_info = NULL;
OpenPOWER on IntegriCloud