From: Erez Zadok <ezk@xxxxxxxxxxxxx> Signed-off-by: Erez Zadok <ezk@xxxxxxxxxxxxx> Signed-off-by: Josef 'Jeff' Sipek <jsipek@xxxxxxxxxxxxx> --- fs/unionfs/main.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index ca7ee26..bd64242 100644 --- a/fs/unionfs/main.c +++ b/fs/unionfs/main.c @@ -584,10 +584,11 @@ static int unionfs_read_super(struct super_block *sb, void *raw_data, atomic_set(&UNIONFS_D(sb->s_root)->generation, 1); /* call interpose to create the upper level inode */ - if ((err = unionfs_interpose(sb->s_root, sb, 0))) - goto out_freedpd; + err = unionfs_interpose(sb->s_root, sb, 0); unionfs_unlock_dentry(sb->s_root); - goto out; + if (!err) + goto out; + /* else fall through */ out_freedpd: if (UNIONFS_D(sb->s_root)) { -- 1.5.0.2.260.g2eb065 - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html