summaryrefslogtreecommitdiff
path: root/bcache-super-show.c
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-03-10 11:03:59 +0100
committerGabriel <g2p.code@gmail.com>2013-03-10 11:03:59 +0100
commit1b7cbd1d77fe98af022169a32c636aede2234030 (patch)
tree006cd74e835eb023fbe1a2667fb8a47d9e7e7cb9 /bcache-super-show.c
parent3b6ae63e496d5e7c1ebbbf570ce26379ca55499d (diff)
Version cleanup.
Diffstat (limited to 'bcache-super-show.c')
-rw-r--r--bcache-super-show.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bcache-super-show.c b/bcache-super-show.c
index 97154cd..011027a 100644
--- a/bcache-super-show.c
+++ b/bcache-super-show.c
@@ -101,15 +101,12 @@ int main(int argc, char **argv)
printf(" [cache device]\n");
break;
+ // SB_BDEV macro says bdev iff version is odd; only 0 and 1
+ // seem to be fully implemented however.
case CACHE_BACKING_DEV: // 1
printf(" [backing device]\n");
break;
- case 3:
- printf(" [backing device with offset]\n");
- // XXX Kernel side bcache.h says different, and implements neither
- return 0; //break;
-
default:
printf(" [unknown]\n");
// exit code?