diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-07-08 12:14:49 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-07-08 12:14:49 -0400 |
commit | 050d5f7bcf08bd02f5077a1c5559f352fa449e1e (patch) | |
tree | 74cfed77af7b39d9f3234d91a0162c61b53391c4 /libbcachefs/opts.c | |
parent | a471a754494789a2a88bf549c3b0fc98c6816958 (diff) |
Update bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair code
Diffstat (limited to 'libbcachefs/opts.c')
-rw-r--r-- | libbcachefs/opts.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libbcachefs/opts.c b/libbcachefs/opts.c index 64bf5a3..fd3f7cd 100644 --- a/libbcachefs/opts.c +++ b/libbcachefs/opts.c @@ -63,6 +63,18 @@ const char * const bch2_member_states[] = { #undef x +const char * const bch2_d_types[] = { + [DT_UNKNOWN] = "unknown", + [DT_FIFO] = "fifo", + [DT_CHR] = "chr", + [DT_DIR] = "dir", + [DT_BLK] = "blk", + [DT_REG] = "reg", + [DT_LNK] = "lnk", + [DT_SOCK] = "sock", + [DT_WHT] = "whiteout", +}; + void bch2_opts_apply(struct bch_opts *dst, struct bch_opts src) { #define x(_name, ...) \ |