xref: /haiku/src/add-ons/kernel/file_systems/ext2/InodeJournal.h (revision 45af882d0698d575ec1b4883a8ebff276c9519d8)
1 /*
2  * Copyright 2001-2010, Haiku Inc. All rights reserved.
3  * This file may be used under the terms of the MIT License.
4  *
5  * Authors:
6  *		Janito V. Ferreira Filho
7  */
8 #ifndef INODEJOURNAL_H
9 #define INODEJOURNAL_H
10 
11 
12 #include "Inode.h"
13 #include "Journal.h"
14 
15 
16 class InodeJournal : public Journal {
17 public:
18 						InodeJournal(Inode* inode);
19 						~InodeJournal();
20 
21 			status_t	InitCheck();
22 
23 			status_t	MapBlock(off_t logical, fsblock_t& physical);
24 private:
25 			Inode*		fInode;
26 			status_t	fInitStatus;
27 };
28 
29 #endif	// INODEJOURNAL_H
30