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 16class InodeJournal : public Journal { 17public: 18 InodeJournal(Inode* inode); 19 ~InodeJournal(); 20 21 status_t InitCheck(); 22 23 status_t MapBlock(off_t logical, fsblock_t& physical); 24private: 25 Inode* fInode; 26 status_t fInitStatus; 27}; 28 29#endif // INODEJOURNAL_H 30