diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-19 05:07:24 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-19 05:07:24 -0800 |
| commit | 546e1d8baf586ecc701280aa328df7251d70ddb8 (patch) | |
| tree | ad70eef1e9591da0de7a3172a1ea12c2e08a1b17 /include/linux/ext3_fs_sb.h | |
| parent | 6283f86ec40c482d69acb720451cf69098009b9d (diff) | |
[PATCH] ext3: s_next_generation fixes
- Add missing locking around s_next_generation increment
- Correctly set the initial value of s_next_generation.
Diffstat (limited to 'include/linux/ext3_fs_sb.h')
| -rw-r--r-- | include/linux/ext3_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ext3_fs_sb.h b/include/linux/ext3_fs_sb.h index e9b4012cc776..590fd69ec045 100644 --- a/include/linux/ext3_fs_sb.h +++ b/include/linux/ext3_fs_sb.h @@ -49,6 +49,7 @@ struct ext3_sb_info { int s_desc_per_block_bits; int s_inode_size; int s_first_ino; + spinlock_t s_next_gen_lock; u32 s_next_generation; u32 s_hash_seed[4]; int s_def_hash_version; |
