summaryrefslogtreecommitdiffstats
path: root/sound/aoa/Kconfig
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@jeffreymahoney.com>2010-03-29 15:12:39 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2010-03-30 22:13:09 +0200
commitb7b7fa43103a9fb30dbcc60cbd5161fdfc25f904 (patch)
tree8d384f813009478e24ff41505dd2d96ef60c8e52 /sound/aoa/Kconfig
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff)
reiserfs: Fix locking BUG during mount failure
Commit 8ebc423238341b52912c7295b045a32477b33f09 (reiserfs: kill-the-BKL) introduced a bug in the mount failure case. The error label releases the lock before calling journal_release_error, but it requires that the lock be held. do_journal_release unlocks and retakes it. When it releases it without it held, we trigger a BUG(). The error_alloc label skips the unlock since the lock isn't held yet but none of the other conditions that are clean up exist yet either. This patch returns immediately after the kzalloc failure and moves the reiserfs_write_unlock after the journal_release_error call. This was reported in https://bugzilla.novell.com/show_bug.cgi?id=591807 Reported-by: Thomas Siedentopf <thomas.siedentopf@novell.com> Signed-off-by: Jeff Mahoney <jeffm@suse.com> Cc: Thomas Siedentopf <thomas.siedentopf@novell.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: 2.6.33.x <stable@kernel.org> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'sound/aoa/Kconfig')
0 files changed, 0 insertions, 0 deletions