diff options
-rw-r--r-- | fs/hfsplus/super.c | 4 | ||||
-rw-r--r-- | fs/hfsplus/wrapper.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index c106ca22e812..cadbb8c81887 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
@@ -525,8 +525,8 @@ out_close_cat_tree: | |||
525 | out_close_ext_tree: | 525 | out_close_ext_tree: |
526 | hfs_btree_close(sbi->ext_tree); | 526 | hfs_btree_close(sbi->ext_tree); |
527 | out_free_vhdr: | 527 | out_free_vhdr: |
528 | kfree(sbi->s_vhdr); | 528 | kfree(sbi->s_vhdr_buf); |
529 | kfree(sbi->s_backup_vhdr); | 529 | kfree(sbi->s_backup_vhdr_buf); |
530 | out_unload_nls: | 530 | out_unload_nls: |
531 | unload_nls(sbi->nls); | 531 | unload_nls(sbi->nls); |
532 | unload_nls(nls); | 532 | unload_nls(nls); |
diff --git a/fs/hfsplus/wrapper.c b/fs/hfsplus/wrapper.c index 10e515a0d452..7daf4b852d1c 100644 --- a/fs/hfsplus/wrapper.c +++ b/fs/hfsplus/wrapper.c | |||
@@ -272,9 +272,9 @@ reread: | |||
272 | return 0; | 272 | return 0; |
273 | 273 | ||
274 | out_free_backup_vhdr: | 274 | out_free_backup_vhdr: |
275 | kfree(sbi->s_backup_vhdr); | 275 | kfree(sbi->s_backup_vhdr_buf); |
276 | out_free_vhdr: | 276 | out_free_vhdr: |
277 | kfree(sbi->s_vhdr); | 277 | kfree(sbi->s_vhdr_buf); |
278 | out: | 278 | out: |
279 | return error; | 279 | return error; |
280 | } | 280 | } |