aboutsummaryrefslogtreecommitdiffstats
path: root/extent_io.h
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2013-01-30 14:50:26 -0800
committerDavid Sterba <dsterba@suse.cz>2013-02-19 11:15:30 +0100
commit0c38ff3ca4f481bbae74283fd00a56fbd938e4b2 (patch)
tree0cfb6ca9cf09a104237203bfba74eb52dc47f51c /extent_io.h
parent7d4dc89f96644c6f1b7efb5a3759bbee58f5b27e (diff)
downloadbtrfs-progs-0c38ff3ca4f481bbae74283fd00a56fbd938e4b2.tar.gz
btrfs-progs-0c38ff3ca4f481bbae74283fd00a56fbd938e4b2.tar.xz
btrfs-progs-0c38ff3ca4f481bbae74283fd00a56fbd938e4b2.zip
btrfs-progs: make libbtrfs usable from C++
Please find attached a patch to make the new libbtrfs usable from C++ (at least for the parts snapper will likely need). Signed-off-by: Arvin Schnell <aschnell@suse.de> Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Diffstat (limited to 'extent_io.h')
-rw-r--r--extent_io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/extent_io.h b/extent_io.h
index 5df44f7..63e9004 100644
--- a/extent_io.h
+++ b/extent_io.h
@@ -47,7 +47,7 @@ struct extent_state {
u64 end;
int refs;
unsigned long state;
- u64 private;
+ u64 xprivate;
};
struct extent_buffer {
@@ -86,8 +86,8 @@ int extent_buffer_uptodate(struct extent_buffer *eb);
int set_extent_buffer_uptodate(struct extent_buffer *eb);
int clear_extent_buffer_uptodate(struct extent_io_tree *tree,
struct extent_buffer *eb);
-int set_state_private(struct extent_io_tree *tree, u64 start, u64 private);
-int get_state_private(struct extent_io_tree *tree, u64 start, u64 *private);
+int set_state_private(struct extent_io_tree *tree, u64 start, u64 xprivate);
+int get_state_private(struct extent_io_tree *tree, u64 start, u64 *xprivate);
struct extent_buffer *find_extent_buffer(struct extent_io_tree *tree,
u64 bytenr, u32 blocksize);
struct extent_buffer *find_first_extent_buffer(struct extent_io_tree *tree,