2 * Copyright 2001-2011, Haiku Inc. All rights reserved.
3 * This file may be used under the terms of the MIT License.
13 #include "Transaction.h"
22 ExtentStream(Volume
* volume
, ext2_extent_stream
* stream
,
26 status_t
FindBlock(off_t offset
, fsblock_t
& block
,
27 uint32
*_count
= NULL
);
28 status_t
Enlarge(Transaction
& transaction
, off_t
& numBlocks
);
29 status_t
Shrink(Transaction
& transaction
, off_t
& numBlocks
);
35 status_t
_Check(ext2_extent_stream
*stream
, fileblock_t
&block
);
36 status_t
_CheckBlock(ext2_extent_stream
*stream
, fsblock_t block
);
39 ext2_extent_stream
* fStream
;
40 fsblock_t fFirstBlock
;
42 fsblock_t fAllocatedPos
;
48 #endif // EXTENTSTREAM_H