diff options
Diffstat (limited to 'xlators/storage')
-rw-r--r-- | xlators/storage/posix/src/posix-common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/storage/posix/src/posix-common.c b/xlators/storage/posix/src/posix-common.c index 13b70da4d64..e95bc652944 100644 --- a/xlators/storage/posix/src/posix-common.c +++ b/xlators/storage/posix/src/posix-common.c @@ -145,12 +145,6 @@ posix_notify(xlator_t *this, int32_t event, void *data, ...) switch (event) { case GF_EVENT_PARENT_UP: { /* Notify the parent that posix xlator is up */ - char *volume_id; - int ret = dict_get_str(this->options, "volume-id", &volume_id); - if (!ret) { - strncpy(this->graph->volume_id, volume_id, - min(strlen(volume_id), GF_UUID_BUF_SIZE)); - } default_notify(this, GF_EVENT_CHILD_UP, data); } break; |