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-run.c | |
parent | 7f4191a202ea4558ca2d5eb8a47daea33c9999c7 (diff) |
bcache in userspace; userspace fsck
Diffstat (limited to 'bcache-run.c')
-rw-r--r-- | bcache-run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bcache-run.c b/bcache-run.c index 8a8bc05..f419407 100644 --- a/bcache-run.c +++ b/bcache-run.c @@ -11,7 +11,7 @@ #include <uuid/uuid.h> -#include "bcache.h" +#include "bcache-cmds.h" int cmd_run(int argc, char *argv[]) { @@ -25,7 +25,7 @@ int cmd_stop(int argc, char *argv[]) struct bcache_handle fs = bcache_fs_open(argv[1]); - if (ioctl(fs.fd, BCH_IOCTL_STOP)) + if (ioctl(fs.ioctl_fd, BCH_IOCTL_STOP)) die("BCH_IOCTL_STOP error: %s", strerror(errno)); return 0; |