diff options
Diffstat (limited to 'fs/reiserfs/stree.c')
-rw-r--r-- | fs/reiserfs/stree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c index d036ee5b1c81..6bd99a99a652 100644 --- a/fs/reiserfs/stree.c +++ b/fs/reiserfs/stree.c | |||
@@ -629,7 +629,9 @@ int search_by_key(struct super_block *sb, const struct cpu_key *key, /* Key to s | |||
629 | search_by_key_reada(sb, reada_bh, | 629 | search_by_key_reada(sb, reada_bh, |
630 | reada_blocks, reada_count); | 630 | reada_blocks, reada_count); |
631 | ll_rw_block(READ, 1, &bh); | 631 | ll_rw_block(READ, 1, &bh); |
632 | reiserfs_write_unlock(sb); | ||
632 | wait_on_buffer(bh); | 633 | wait_on_buffer(bh); |
634 | reiserfs_write_lock(sb); | ||
633 | if (!buffer_uptodate(bh)) | 635 | if (!buffer_uptodate(bh)) |
634 | goto io_error; | 636 | goto io_error; |
635 | } else { | 637 | } else { |