Displaying 2 results from an estimated 2 matches for "c101c3b".
Did you mean:
c10163b
2015 Jan 14
2
[PATCH] daemon: use btrfs(1) to get btrfs labels
...out);
+ if (len > 0 && out[len-1] == '\n')
+ out[len-1] = '\0';
+
+ return out;
+}
+
/* Takes optional arguments, consult optargs_bitmask. */
int
do_btrfs_filesystem_resize (const char *filesystem, int64_t size)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index c101c3b..cf123bf 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -232,6 +232,9 @@ extern void wipe_device_before_mkfs (const char *device);
extern void aug_read_version (void);
extern void aug_finalize (void);
+/*-- in btrfs.c --*/
+extern char *btrfs_get_label (const char *device);
+
/* The ver...
2015 Jan 15
0
[PATCH 1/2] daemon: use btrfs(1) to get btrfs labels
...out);
+ if (len > 0 && out[len-1] == '\n')
+ out[len-1] = '\0';
+
+ return out;
+}
+
/* Takes optional arguments, consult optargs_bitmask. */
int
do_btrfs_filesystem_resize (const char *filesystem, int64_t size)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index c101c3b..4ee1a40 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -262,6 +262,9 @@ extern char *debug_bmap (const char *subcmd, size_t argc, char *const *const arg
extern char *debug_bmap_file (const char *subcmd, size_t argc, char *const *const argv);
extern char *debug_bmap_device (const char *sub...