diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-10 11:29:09 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-17 19:49:23 -0800 |
commit | c5d4df1902b9f466d52682a51ed1e15f5d08d042 (patch) | |
tree | a5abd9dbd6b806a7b032331e06f7072970380b67 | |
parent | b6b65b426e43d9d1b0608030a070fcc26ee22c9c (diff) |
bcachefs: fix bch_parse_mount_opts()
-rw-r--r-- | fs/bcachefs/opts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c index ea71dfb9d939..23302d44a8bb 100644 --- a/fs/bcachefs/opts.c +++ b/fs/bcachefs/opts.c @@ -171,8 +171,7 @@ int parse_one_opt(enum bch_opt_id id, const char *val, u64 *res) int bch_parse_mount_opts(struct bch_opts *opts, char *options) { char *opt, *name, *val; - enum bch_opt_id id; - int ret; + int ret, id; u64 v; while ((opt = strsep(&options, ",")) != NULL) { |