summaryrefslogtreecommitdiff
path: root/fs/nilfs2/sb.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 05:05:08 +0300
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 05:05:08 +0300
commit3fd3fe5aeaa171a5638d2bb54a1a170eab7b7cdc (patch)
tree3feb95a18e045883b0af27da09be10f5e011776f /fs/nilfs2/sb.h
parent9b1fc4e4973469dd3fab27ba5d78eca1cd5c13fe (diff)
downloadlinux-3fd3fe5aeaa171a5638d2bb54a1a170eab7b7cdc.tar.xz
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.h9
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 @@
#include <linux/fs.h>
struct the_nilfs;
-struct nilfs_sc_info;
/*
* NILFS super-block data in memory
@@ -37,9 +36,6 @@ struct nilfs_sb_info {
/* Fundamental members */
struct super_block *s_super; /* reverse pointer to super_block */
struct the_nilfs *s_nilfs;
-
- /* Segment constructor */
- struct nilfs_sc_info *s_sc_info; /* segment constructor info */
};
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)
return sb->s_fs_info;
}
-static inline struct nilfs_sc_info *NILFS_SC(struct nilfs_sb_info *sbi)
-{
- return sbi->s_sc_info;
-}
-
#endif /* _NILFS_SB */