From acc1c5d189fe9c14cfcae940a6bfb415ce1b1060 Mon Sep 17 00:00:00 2001 From: Akilesh Kailash Date: Thu, 15 Apr 2021 05:42:05 +0000 Subject: [PATCH] libsnapshot: Add Version field which will be used by update-engine manifest Bug: 183863613 Test: Build Signed-off-by: Akilesh Kailash Change-Id: If4b6a60669a55eb2ea1167fb2cc49ce04c054748 --- fs_mgr/libsnapshot/include/libsnapshot/cow_format.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs_mgr/libsnapshot/include/libsnapshot/cow_format.h b/fs_mgr/libsnapshot/include/libsnapshot/cow_format.h index 797b8ef4c..e93254e5c 100644 --- a/fs_mgr/libsnapshot/include/libsnapshot/cow_format.h +++ b/fs_mgr/libsnapshot/include/libsnapshot/cow_format.h @@ -24,6 +24,8 @@ static constexpr uint64_t kCowMagicNumber = 0x436f77634f572121ULL; static constexpr uint32_t kCowVersionMajor = 1; static constexpr uint32_t kCowVersionMinor = 0; +static constexpr uint32_t kCowVersionManifest = 1; + // This header appears as the first sequence of bytes in the COW. All fields // in the layout are little-endian encoded. The on-disk layout is: //