nilfs2: make snapshots in checkpoint tree exportable
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 26 Aug 2010 15:23:02 +0000 (00:23 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:34 +0000 (09:24 +0900)
commit8e656fd518784b49453f60c5f78b78703bc85cb2
tree7adf4b71aba4bdf31dc05489a06933c48a0ea6f2
parent4d8d9293dce503eb0e083e17a02a328d397e7f00
nilfs2: make snapshots in checkpoint tree exportable

The previous export operations cannot handle multiple versions of
a filesystem if they belong to the same sb instance.

This adds a new type of file handle and extends export operations so
that they can get the inode specified by a checkpoint number as well
as an inode number and a generation number.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/export.h [new file with mode: 0644]
fs/nilfs2/namei.c
fs/nilfs2/nilfs.h
fs/nilfs2/super.c
include/linux/exportfs.h