summaryrefslogtreecommitdiffstats
path: root/xlators/storage/bd/src/bd-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/bd/src/bd-helper.c')
-rw-r--r--xlators/storage/bd/src/bd-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/bd/src/bd-helper.c b/xlators/storage/bd/src/bd-helper.c
index 895c6500acf..c6891749008 100644
--- a/xlators/storage/bd/src/bd-helper.c
+++ b/xlators/storage/bd/src/bd-helper.c
@@ -331,7 +331,7 @@ bd_validate_bd_xattr(xlator_t *this, char *bd, char **type, uint64_t *lv_size,
if (bytes) {
*bytes = '\0';
bytes++;
- gf_string2bytesize(bytes, &size);
+ gf_string2bytesize_uint64(bytes, &size);
}
if (strcmp(bd, BD_LV) && strcmp(bd, BD_THIN)) {