Support version 33 including symlinks

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-27 02:04:04 +02:00
parent 11e50e923a
commit 34c5965451
3 changed files with 141 additions and 13 deletions

View file

@ -29,6 +29,9 @@ typedef struct sa_hdr_phys {
} sa_hdr_phys_t;
#define SA_HDR_SIZE(hdr) BF32_GET_SB(hdr->sa_layout_info, 10, 16, 3, 0)
#define SA_TYPE_OFFSET 0x0
#define SA_SIZE_OFFSET 0x8
#define SA_MTIME_OFFSET 0x38
#define SA_SYMLINK_OFFSET 0xa0
#endif /* _SYS_SA_IMPL_H */

View file

@ -28,7 +28,7 @@
/*
* On-disk version number.
*/
#define SPA_VERSION 31ULL
#define SPA_VERSION 33ULL
/*
* The following are configuration names used in the nvlist describing a pool's