diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 21:05:08 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-03-08 21:05:08 -0500 |
commit | 3fd3fe5aeaa171a5638d2bb54a1a170eab7b7cdc (patch) | |
tree | 3feb95a18e045883b0af27da09be10f5e011776f /fs/nilfs2/sb.h | |
parent | 9b1fc4e4973469dd3fab27ba5d78eca1cd5c13fe (diff) |
nilfs2: move log writer onto nilfs object
Log writer is held by the nilfs_sb_info structure. This moves it into
nilfs object and replaces all uses of NILFS_SC() accessor.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/sb.h')
-rw-r--r-- | fs/nilfs2/sb.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/nilfs2/sb.h b/fs/nilfs2/sb.h index 6f190dfdc649..44553f42ebac 100644 --- a/fs/nilfs2/sb.h +++ b/fs/nilfs2/sb.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/fs.h> | 28 | #include <linux/fs.h> |
29 | 29 | ||
30 | struct the_nilfs; | 30 | struct the_nilfs; |
31 | struct nilfs_sc_info; | ||
32 | 31 | ||
33 | /* | 32 | /* |
34 | * NILFS super-block data in memory | 33 | * NILFS super-block data in memory |
@@ -37,9 +36,6 @@ struct nilfs_sb_info { | |||
37 | /* Fundamental members */ | 36 | /* Fundamental members */ |
38 | struct super_block *s_super; /* reverse pointer to super_block */ | 37 | struct super_block *s_super; /* reverse pointer to super_block */ |
39 | struct the_nilfs *s_nilfs; | 38 | struct the_nilfs *s_nilfs; |
40 | |||
41 | /* Segment constructor */ | ||
42 | struct nilfs_sc_info *s_sc_info; /* segment constructor info */ | ||
43 | }; | 39 | }; |
44 | 40 | ||
45 | static inline struct nilfs_sb_info *NILFS_SB(struct super_block *sb) | 41 | static inline struct nilfs_sb_info *NILFS_SB(struct super_block *sb) |
@@ -47,9 +43,4 @@ static inline struct nilfs_sb_info *NILFS_SB(struct super_block *sb) | |||
47 | return sb->s_fs_info; | 43 | return sb->s_fs_info; |
48 | } | 44 | } |
49 | 45 | ||
50 | static inline struct nilfs_sc_info *NILFS_SC(struct nilfs_sb_info *sbi) | ||
51 | { | ||
52 | return sbi->s_sc_info; | ||
53 | } | ||
54 | |||
55 | #endif /* _NILFS_SB */ | 46 | #endif /* _NILFS_SB */ |