X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=disk-io.h;h=c4496155771f6d988d7630ac739c6740899d8445;hb=e181c03d420ef36c8bedd86492dc5c7b229be8a9;hp=f6a422f2a7737a4584d2255d983439e8b4c2ffae;hpb=f2b0cbe8e83229512a6a0583f847e8e17e4cd0eb;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/disk-io.h b/disk-io.h index f6a422f..c449615 100644 --- a/disk-io.h +++ b/disk-io.h @@ -73,8 +73,12 @@ enum btrfs_open_ctree_flags { */ OPEN_CTREE_IGNORE_CHUNK_TREE_ERROR = (1U << 11), - /* Allow to open a partially created filesystem */ - OPEN_CTREE_FS_PARTIAL = (1U << 12), + /* + * Allow to open fs with temporary superblock (BTRFS_MAGIC_PARTIAL), + * such fs contains very basic tree layout, just able to be opened. + * Such temporary super is used for mkfs or convert. + */ + OPEN_CTREE_TEMPORARY_SUPER = (1U << 12), /* * Invalidate the free space tree (i.e., clear the FREE_SPACE_TREE_VALID @@ -95,7 +99,7 @@ enum btrfs_read_sb_flags { * Read superblock with the fake signature, cannot be used with * SBREAD_RECOVER */ - SBREAD_PARTIAL = (1 << 1), + SBREAD_TEMPORARY = (1 << 1), }; /*