]> git.sesse.net Git - bcachefs-tools-debian/blob - cmd_fs.c
Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace
[bcachefs-tools-debian] / cmd_fs.c
1
2 #include "cmds.h"
3
4 struct bcache_fs {
5         /* options... */
6
7         u64             capacity;
8
9         /* XXX: dirty != used, it doesn't count metadata */
10         u64             bytes_dirty;
11 };
12
13 #if 0
14 static struct bcache_fs fill_fs(struct bcache_handle fs)
15 {
16         return (struct bcache_fs) {
17         };
18 }
19 #endif
20
21 int cmd_fs_show(int argc, char *argv[])
22 {
23         if (argc != 2)
24                 die("Please supply a filesystem");
25
26 #if 0
27         struct bcache_handle fs = bcache_fs_open(argv[1]);
28 #endif
29
30         return 0;
31 }
32
33 int cmd_fs_set(int argc, char *argv[])
34 {
35         if (argc != 2)
36                 die("Please supply a filesystem");
37
38 #if 0
39         struct bcache_handle fs = bcache_fs_open(argv[1]);
40 #endif
41
42         return 0;
43 }