From c4ce6435c4e59cd63abfdeeb89fe910e87fe9881 Mon Sep 17 00:00:00 2001 From: Chuck Ebbert Date: Tue, 1 Feb 2011 16:41:55 -0500 Subject: [PATCH] --- yaml --- r: 232794 b: refs/heads/master c: 14dd01f88319a37b06ca909738044e39ec5bfdee h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/hfsplus/part_tbl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f91300f0da0e..f477823b10a0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c5b8d0bce052949e173b5b32f96bd59bceaa2ab0 +refs/heads/master: 14dd01f88319a37b06ca909738044e39ec5bfdee diff --git a/trunk/fs/hfsplus/part_tbl.c b/trunk/fs/hfsplus/part_tbl.c index d66ad113b1cc..40ad88c12c64 100644 --- a/trunk/fs/hfsplus/part_tbl.c +++ b/trunk/fs/hfsplus/part_tbl.c @@ -134,7 +134,7 @@ int hfs_part_find(struct super_block *sb, res = hfsplus_submit_bio(sb->s_bdev, *part_start + HFS_PMAP_BLK, data, READ); if (res) - return res; + goto out; switch (be16_to_cpu(*((__be16 *)data))) { case HFS_OLD_PMAP_MAGIC: @@ -147,7 +147,7 @@ int hfs_part_find(struct super_block *sb, res = -ENOENT; break; } - +out: kfree(data); return res; }