diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index af109c0ba72075f6561a50132f1046a5d22d5c68..e0469816c678be793d13619d465c54646eef268a 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c @@ -337,7 +337,7 @@ static int inherit_props(struct btrfs_trans_handle *trans, for (i = 0; i < ARRAY_SIZE(prop_handlers); i++) { const struct prop_handler *h = &prop_handlers[i]; const char *value; - u64 num_bytes; + u64 num_bytes = 0; if (!h->inheritable) continue;