diff options
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index 0cd9ba00f968..08865ed70f00 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h | |||
@@ -116,23 +116,26 @@ struct hfsplus_sb_info { | |||
116 | struct inode *hidden_dir; | 116 | struct inode *hidden_dir; |
117 | struct nls_table *nls; | 117 | struct nls_table *nls; |
118 | 118 | ||
119 | /* synchronize block allocations */ | ||
120 | struct mutex alloc_mutex; | ||
121 | |||
122 | /* Runtime variables */ | 119 | /* Runtime variables */ |
123 | u32 blockoffset; | 120 | u32 blockoffset; |
124 | u32 sect_count; | 121 | u32 sect_count; |
125 | int fs_shift; | 122 | int fs_shift; |
126 | 123 | ||
127 | /* Stuff in host order from Vol Header */ | 124 | /* immutable data from the volume header */ |
128 | u32 alloc_blksz; | 125 | u32 alloc_blksz; |
129 | int alloc_blksz_shift; | 126 | int alloc_blksz_shift; |
130 | u32 total_blocks; | 127 | u32 total_blocks; |
128 | u32 data_clump_blocks, rsrc_clump_blocks; | ||
129 | |||
130 | /* mutable data from the volume header, protected by alloc_mutex */ | ||
131 | u32 free_blocks; | 131 | u32 free_blocks; |
132 | struct mutex alloc_mutex; | ||
133 | |||
134 | /* mutable data from the volume header, protected by vh_mutex */ | ||
132 | u32 next_cnid; | 135 | u32 next_cnid; |
133 | u32 file_count; | 136 | u32 file_count; |
134 | u32 folder_count; | 137 | u32 folder_count; |
135 | u32 data_clump_blocks, rsrc_clump_blocks; | 138 | struct mutex vh_mutex; |
136 | 139 | ||
137 | /* Config options */ | 140 | /* Config options */ |
138 | u32 creator; | 141 | u32 creator; |