search for: 00c47d8

Displaying 2 results from an estimated 2 matches for "00c47d8".

Did you mean: 00c07fd8
2015 Jul 06
1
[PATCH] uuids: return ENOTSUP if could not set UUID for specific fs
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/uuids.c | 6 ++---- generator/actions.ml | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/daemon/uuids.c b/daemon/uuids.c index 20eabe3..00c47d8 100644 --- a/daemon/uuids.c +++ b/daemon/uuids.c @@ -77,11 +77,9 @@ do_set_uuid (const char *device, const char *uuid) else if (STREQ (vfs_type, "btrfs")) r = btrfs_set_uuid (device, uuid); - else { - reply_with_error ("don't know how to set the UUID for '%s'...
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...8513ec 100644 --- a/daemon/sync.c +++ b/daemon/sync.c @@ -97,7 +97,7 @@ fsync_devices (void) for (;;) { errno = 0; - d = readdir(dir); + d = readdir (dir); if (!d) break; if (STREQLEN (d->d_name, "sd", 2) || diff --git a/daemon/uuids.c b/daemon/uuids.c index 00c47d8..e6287c5 100644 --- a/daemon/uuids.c +++ b/daemon/uuids.c @@ -78,7 +78,7 @@ do_set_uuid (const char *device, const char *uuid) r = btrfs_set_uuid (device, uuid); else - NOT_SUPPORTED(-1, "don't know how to set the UUID for '%s' filesystems", + NOT_SUPPORTED (-1...