git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kill-the-BKL/reiserfs: release the write lock inside get_neighbors()
[safe/jmp/linux-2.6]
/
fs
/
reiserfs
/
journal.c
diff --git
a/fs/reiserfs/journal.c
b/fs/reiserfs/journal.c
index
0ba98ca
..
5cd600b
100644
(file)
--- a/
fs/reiserfs/journal.c
+++ b/
fs/reiserfs/journal.c
@@
-4232,7
+4232,9
@@
static int do_journal_end(struct reiserfs_transaction_handle *th,
next = cn->next;
free_cnode(sb, cn);
cn = next;
+ reiserfs_write_unlock(sb);
cond_resched();
+ reiserfs_write_lock(sb);
}
/* we are done with both the c_bh and d_bh, but