aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/sb.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 11:05:08 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2011-03-09 11:05:08 +0900
commit9b1fc4e4973469dd3fab27ba5d78eca1cd5c13fe (patch)
tree0f51872d41cbc1e43db2fafab0074c107dfce7e7 /fs/nilfs2/sb.h
parentnilfs2: move s_inode_lock and s_dirty_files into nilfs object (diff)
downloadlinux-dev-9b1fc4e4973469dd3fab27ba5d78eca1cd5c13fe.tar.xz
linux-dev-9b1fc4e4973469dd3fab27ba5d78eca1cd5c13fe.zip
nilfs2: move next generation counter into nilfs object
Moves s_next_generation counter and a spinlock protecting it to nilfs object from nilfs_sb_info structure. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/sb.h')
-rw-r--r--fs/nilfs2/sb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nilfs2/sb.h b/fs/nilfs2/sb.h
index 3232e75fab75..6f190dfdc649 100644
--- a/fs/nilfs2/sb.h
+++ b/fs/nilfs2/sb.h
@@ -40,10 +40,6 @@ struct nilfs_sb_info {
/* Segment constructor */
struct nilfs_sc_info *s_sc_info; /* segment constructor info */
-
- /* Inode allocator */
- spinlock_t s_next_gen_lock;
- u32 s_next_generation;
};
static inline struct nilfs_sb_info *NILFS_SB(struct super_block *sb)