aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Blunck <[email protected]>2010-04-14 14:38:38 +0200
committerJan Kara <[email protected]>2010-05-21 19:30:39 +0200
commitc15271f4e74cd6dbdf461335d6d1450949c4b956 (patch)
tree585738bde9a80e580686072d02cd6c1e5d261c1e /tools/perf/scripts/python
parent4c96a68bfc110d87b28bcee4c395a7b4d26ed67a (diff)
ext2: Add ext2_sb_info s_lock spinlock
Add a spinlock that protects against concurrent modifications of s_mount_state, s_blocks_last, s_overhead_last and the content of the superblock's buffer pointed to by sbi->s_es. The spinlock is now used in ext2_xattr_update_super_block() which was setting the EXT2_FEATURE_COMPAT_EXT_ATTR flag on the superblock without protection before. Likewise the spinlock is used in ext2_show_options() to have a consistent view of the mount options. This is a preparation patch for removing the BKL from ext2 in the next patch. Signed-off-by: Jan Blunck <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jan Kara <[email protected]> Cc: OGAWA Hirofumi <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions