diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-08 00:13:18 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-20 09:07:08 -0900 |
commit | b33fc8298f7e13226b9895abc57c9bfce5e3fa2d (patch) | |
tree | a3d2a5a909b6372f7777c1c5c18cef5f81d123a9 /bcache-fs.c | |
parent | 7f4191a202ea4558ca2d5eb8a47daea33c9999c7 (diff) |
bcache in userspace; userspace fsck
Diffstat (limited to 'bcache-fs.c')
-rw-r--r-- | bcache-fs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bcache-fs.c b/bcache-fs.c index 57dc47a..2e82086 100644 --- a/bcache-fs.c +++ b/bcache-fs.c @@ -1,5 +1,5 @@ -#include "bcache.h" +#include "bcache-cmds.h" struct bcache_fs { /* options... */ @@ -10,11 +10,13 @@ struct bcache_fs { u64 bytes_dirty; }; +#if 0 static struct bcache_fs fill_fs(struct bcache_handle fs) { return (struct bcache_fs) { }; } +#endif int cmd_fs_show(int argc, char *argv[]) { @@ -23,6 +25,7 @@ int cmd_fs_show(int argc, char *argv[]) struct bcache_handle fs = bcache_fs_open(argv[1]); + fs = fs; return 0; } @@ -33,5 +36,6 @@ int cmd_fs_set(int argc, char *argv[]) struct bcache_handle fs = bcache_fs_open(argv[1]); + fs = fs; return 0; } |