diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-08-20 02:20:28 +0200 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-08-22 20:08:38 +0200 |
commit | a1af7d15a18d1e375b0a6fee93789a0bbfe088b4 (patch) | |
tree | 24af83391b39cf787b7579859682c4050970ed76 /fs/ocfs2/dir.c | |
parent | [PATCH] ocfs2/cluster/netdebug.c: fix warning (diff) | |
download | linux-a1af7d15a18d1e375b0a6fee93789a0bbfe088b4.tar.xz linux-a1af7d15a18d1e375b0a6fee93789a0bbfe088b4.zip |
ocfs2: Fix sleep-with-spinlock recovery regression
This fixes a bug introduced with 539d8264093560b917ee3afe4c7f74e5da09d6a5:
[PATCH 2/2] ocfs2: Fix race between mount and recovery
ocfs2_mark_dead_nodes() was reading journal inodes while holding the
spinlock protecting our in-memory recovery state. The fix is very simple -
the disk state is protected by a cluster lock that's already held, so we
just move the spinlock down past the read.
Reviewed-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dir.c')
0 files changed, 0 insertions, 0 deletions