Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232987
b: refs/heads/master
c: 3f3d0bc
h: refs/heads/master
i:
  232985: 3155654
  232983: 26d4542
v: v3
  • Loading branch information
Tero Roponen authored and Li Zefan committed Jan 26, 2011
1 parent 17a14e1 commit 56903f2
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: bdc924bb4cdac92b945945c3149ab8191c92d75d
refs/heads/master: 3f3d0bc0df041236fad4ffa82188a6e4ef9af75e
5 changes: 3 additions & 2 deletions trunk/fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static int btrfs_parse_early_options(const char *options, fmode_t flags,
struct btrfs_fs_devices **fs_devices)
{
substring_t args[MAX_OPT_ARGS];
char *opts, *p;
char *opts, *orig, *p;
int error = 0;
int intarg;

Expand All @@ -291,6 +291,7 @@ static int btrfs_parse_early_options(const char *options, fmode_t flags,
opts = kstrdup(options, GFP_KERNEL);
if (!opts)
return -ENOMEM;
orig = opts;

while ((p = strsep(&opts, ",")) != NULL) {
int token;
Expand Down Expand Up @@ -326,7 +327,7 @@ static int btrfs_parse_early_options(const char *options, fmode_t flags,
}

out_free_opts:
kfree(opts);
kfree(orig);
out:
/*
* If no subvolume name is specified we use the default one. Allocate
Expand Down

0 comments on commit 56903f2

Please sign in to comment.