nilfs2: use root object to get ifile
This rewrites functions using ifile so that they get ifile from nilfs_root object, and will remove sbi->s_ifile. Some functions that don't know the root object are extended to receive it from caller. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
@@ -286,7 +286,6 @@ extern int nilfs_commit_super(struct nilfs_sb_info *, int);
|
||||
extern int nilfs_cleanup_super(struct nilfs_sb_info *);
|
||||
int nilfs_attach_checkpoint(struct nilfs_sb_info *sbi, __u64 cno, int curr_mnt,
|
||||
struct nilfs_root **root);
|
||||
extern void nilfs_detach_checkpoint(struct nilfs_sb_info *);
|
||||
|
||||
/* gcinode.c */
|
||||
int nilfs_gccache_submit_read_data(struct inode *, sector_t, sector_t, __u64,
|
||||
|
Reference in New Issue
Block a user