From c5d4df1902b9f466d52682a51ed1e15f5d08d042 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 10 Mar 2017 11:29:09 -0900 Subject: bcachefs: fix bch_parse_mount_opts() --- fs/bcachefs/opts.c | 3 +-- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3