Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262643
b: refs/heads/master
c: 9ce7304
h: refs/heads/master
i:
  262641: 0d985de
  262639: 578571f
v: v3
  • Loading branch information
Boaz Harrosh committed Aug 4, 2011
1 parent 262f480 commit ab51ee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d4073e88132259485ef1b2c88daa5e50c95789c
refs/heads/master: 9ce730475e1b950d78a69c1be3410109c103ac98
6 changes: 2 additions & 4 deletions trunk/fs/exofs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ static int exofs_fill_super(struct super_block *sb, void *data, int silent)
odi.osdname_len = strlen(opts->dev_name);
odi.osdname = (u8 *)opts->dev_name;
od = osduld_info_lookup(&odi);
kfree(opts->dev_name);
opts->dev_name = NULL;
} else {
od = osduld_path_lookup(opts->dev_name);
}
Expand Down Expand Up @@ -806,16 +808,12 @@ static int exofs_fill_super(struct super_block *sb, void *data, int silent)

_exofs_print_device("Mounting", opts->dev_name, sbi->layout.s_ods[0],
sbi->layout.s_pid);
if (opts->is_osdname)
kfree(opts->dev_name);
return 0;

free_sbi:
EXOFS_ERR("Unable to mount exofs on %s pid=0x%llx err=%d\n",
opts->dev_name, sbi->layout.s_pid, ret);
exofs_free_sbi(sbi);
if (opts->is_osdname)
kfree(opts->dev_name);
return ret;
}

Expand Down

0 comments on commit ab51ee8

Please sign in to comment.