diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-08-26 11:23:02 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-10-22 20:24:34 -0400 |
commit | 8e656fd518784b49453f60c5f78b78703bc85cb2 (patch) | |
tree | 7adf4b71aba4bdf31dc05489a06933c48a0ea6f2 /fs/nilfs2/nilfs.h | |
parent | 4d8d9293dce503eb0e083e17a02a328d397e7f00 (diff) |
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>
Diffstat (limited to 'fs/nilfs2/nilfs.h')
-rw-r--r-- | fs/nilfs2/nilfs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h index 21d90c4b4e2d..aa7940f7ecf1 100644 --- a/fs/nilfs2/nilfs.h +++ b/fs/nilfs2/nilfs.h | |||
@@ -264,9 +264,6 @@ extern int nilfs_set_file_dirty(struct nilfs_sb_info *, struct inode *, | |||
264 | extern int nilfs_mark_inode_dirty(struct inode *); | 264 | extern int nilfs_mark_inode_dirty(struct inode *); |
265 | extern void nilfs_dirty_inode(struct inode *); | 265 | extern void nilfs_dirty_inode(struct inode *); |
266 | 266 | ||
267 | /* namei.c */ | ||
268 | extern struct dentry *nilfs_get_parent(struct dentry *); | ||
269 | |||
270 | /* super.c */ | 267 | /* super.c */ |
271 | extern struct inode *nilfs_alloc_inode_common(struct the_nilfs *); | 268 | extern struct inode *nilfs_alloc_inode_common(struct the_nilfs *); |
272 | extern struct inode *nilfs_alloc_inode(struct super_block *); | 269 | extern struct inode *nilfs_alloc_inode(struct super_block *); |