Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187107
b: refs/heads/master
c: da495ec
h: refs/heads/master
i:
  187105: 7d89a8c
  187103: 046112c
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Mar 8, 2010
1 parent 0128510 commit 34d0350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 6bef4d317193d3badbbfa3f3c593758ace84a629
refs/heads/master: da495ecc0fb096b383754952a1c152147bc95b52
5 changes: 3 additions & 2 deletions trunk/fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
{
struct btrfs_fs_info *info = root->fs_info;
substring_t args[MAX_OPT_ARGS];
char *p, *num;
char *p, *num, *orig;
int intarg;
int ret = 0;

Expand All @@ -143,6 +143,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
if (!options)
return -ENOMEM;

orig = options;

while ((p = strsep(&options, ",")) != NULL) {
int token;
Expand Down Expand Up @@ -280,7 +281,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
}
}
out:
kfree(options);
kfree(orig);
return ret;
}

Expand Down

0 comments on commit 34d0350

Please sign in to comment.