aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFabian Frederick <[email protected]>2014-06-06 14:38:34 -0700
committerLinus Torvalds <[email protected]>2014-06-06 16:08:18 -0700
commit0244756edc4b98c129e92c7061d9f383708cf786 (patch)
tree49ff65c45d2ca48e184e1d931d79c122982461e1 /tools/perf/util/scripting-engines/trace-event-python.c
parent0d2b7ea9287d39e87531d233ba885263e6160127 (diff)
ufs: sb mutex merge + mutex_destroy
Commit 788257d6101d ("ufs: remove the BKL") replaced BKL with mutex protection using functions lock_ufs, unlock_ufs and struct mutex 'mutex' in sb_info. Commit b6963327e052 ("ufs: drop lock/unlock super") removed lock/unlock super and added struct mutex 's_lock' in sb_info. Those 2 mutexes are generally locked/unlocked at the same time except in allocation (balloc, ialloc). This patch merges the 2 mutexes and propagates first commit solution. It also adds mutex destruction before kfree during ufs_fill_super failure and ufs_put_super. [[email protected]: avoid ifdefs, return -EROFS not -EINVAL] Signed-off-by: Fabian Frederick <[email protected]> Cc: Evgeniy Dushistov <[email protected]> Cc: "Chen, Jet" <[email protected]> Cc: Wu Fengguang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions