diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:37:58 -0400 |
| commit | 5a2cec83a9bb1b4295aa8ab728fcb8ca1811a33c (patch) | |
| tree | 2f83dc6949763e77cf6422e696dc6146684dcf4e /fs/hfs/mdb.c | |
| parent | f2c853bca542f5ac0b036377637192a74f2091c2 (diff) | |
| parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'fs/hfs/mdb.c')
| -rw-r--r-- | fs/hfs/mdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/hfs/mdb.c b/fs/hfs/mdb.c index 217e32f37e0b..0a473f79c89f 100644 --- a/fs/hfs/mdb.c +++ b/fs/hfs/mdb.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | #include <linux/cdrom.h> | 11 | #include <linux/cdrom.h> |
| 12 | #include <linux/genhd.h> | 12 | #include <linux/genhd.h> |
| 13 | #include <linux/nls.h> | ||
| 13 | 14 | ||
| 14 | #include "hfs_fs.h" | 15 | #include "hfs_fs.h" |
| 15 | #include "btree.h" | 16 | #include "btree.h" |
| @@ -343,6 +344,11 @@ void hfs_mdb_put(struct super_block *sb) | |||
| 343 | brelse(HFS_SB(sb)->mdb_bh); | 344 | brelse(HFS_SB(sb)->mdb_bh); |
| 344 | brelse(HFS_SB(sb)->alt_mdb_bh); | 345 | brelse(HFS_SB(sb)->alt_mdb_bh); |
| 345 | 346 | ||
| 347 | if (HFS_SB(sb)->nls_io) | ||
| 348 | unload_nls(HFS_SB(sb)->nls_io); | ||
| 349 | if (HFS_SB(sb)->nls_disk) | ||
| 350 | unload_nls(HFS_SB(sb)->nls_disk); | ||
| 351 | |||
| 346 | kfree(HFS_SB(sb)); | 352 | kfree(HFS_SB(sb)); |
| 347 | sb->s_fs_info = NULL; | 353 | sb->s_fs_info = NULL; |
| 348 | } | 354 | } |
