Loading fs/btrfs/super.c +3 −2 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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; Loading Loading @@ -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 Loading Loading
fs/btrfs/super.c +3 −2 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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; Loading Loading @@ -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 Loading