summaryrefslogtreecommitdiff
path: root/libstore/nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/nbd.c')
-rw-r--r--libstore/nbd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libstore/nbd.c b/libstore/nbd.c
index 2eb7ebc9..8bd00c4d 100644
--- a/libstore/nbd.c
+++ b/libstore/nbd.c
@@ -264,6 +264,12 @@ nbd_read (struct store *store,
return err;
}
+static error_t
+nbd_set_size (struct store *store, size_t newsize)
+{
+ return EOPNOTSUPP;
+}
+
/* Setup hooks. */
@@ -473,6 +479,7 @@ const struct store_class store_nbd_class =
validate_name: nbd_validate_name,
read: nbd_read,
write: nbd_write,
+ set_size: nbd_set_size,
allocate_encoding: store_std_leaf_allocate_encoding,
encode: store_std_leaf_encode,
decode: nbd_decode,