diff options
Diffstat (limited to 'fs/nilfs2/the_nilfs.h')
-rw-r--r-- | fs/nilfs2/the_nilfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nilfs2/the_nilfs.h b/fs/nilfs2/the_nilfs.h index 4a9bf3913c9..6106ec5ad89 100644 --- a/fs/nilfs2/the_nilfs.h +++ b/fs/nilfs2/the_nilfs.h | |||
@@ -71,6 +71,8 @@ enum { | |||
71 | * @ns_sufile: segusage file inode | 71 | * @ns_sufile: segusage file inode |
72 | * @ns_cptree: rb-tree of all mounted checkpoints (nilfs_root) | 72 | * @ns_cptree: rb-tree of all mounted checkpoints (nilfs_root) |
73 | * @ns_cptree_lock: lock protecting @ns_cptree | 73 | * @ns_cptree_lock: lock protecting @ns_cptree |
74 | * @ns_dirty_files: list of dirty files | ||
75 | * @ns_inode_lock: lock protecting @ns_dirty_files | ||
74 | * @ns_gc_inodes: dummy inodes to keep live blocks | 76 | * @ns_gc_inodes: dummy inodes to keep live blocks |
75 | * @ns_mount_opt: mount options | 77 | * @ns_mount_opt: mount options |
76 | * @ns_resuid: uid for reserved blocks | 78 | * @ns_resuid: uid for reserved blocks |
@@ -150,6 +152,10 @@ struct the_nilfs { | |||
150 | struct rb_root ns_cptree; | 152 | struct rb_root ns_cptree; |
151 | spinlock_t ns_cptree_lock; | 153 | spinlock_t ns_cptree_lock; |
152 | 154 | ||
155 | /* Dirty inode list */ | ||
156 | struct list_head ns_dirty_files; | ||
157 | spinlock_t ns_inode_lock; | ||
158 | |||
153 | /* GC inode list */ | 159 | /* GC inode list */ |
154 | struct list_head ns_gc_inodes; | 160 | struct list_head ns_gc_inodes; |
155 | 161 | ||