nilfs2: add routines to save and restore bmap state
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 30 Aug 2010 14:42:18 +0000 (23:42 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:37 +0000 (09:24 +0900)
commita8070dd365dd995f6139a2fc3aeee10159bdcc45
tree11a16157b10ed0b6d3f773ded6bd5b82c3f8c4bc
parentadbb39b5485b72dca963a2bc9b1b22bfc19d4967
nilfs2: add routines to save and restore bmap state

This adds routines to save and restore the state of bmap structure.
The bmap state is stored in a given nilfs_bmap_store object.

These routines will be used to roll back the state of dat inode
without using gcdat inode.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/bmap.c
fs/nilfs2/bmap.h