patch-2.4.4 linux/fs/reiserfs/tail_conversion.c
Next file: linux/fs/romfs/inode.c
Previous file: linux/fs/reiserfs/super.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Apr 26 10:44:10 2001
- Orig file:
v2.4.3/linux/fs/reiserfs/tail_conversion.c
- Orig date:
Wed Feb 28 19:21:58 2001
diff -u --recursive --new-file v2.4.3/linux/fs/reiserfs/tail_conversion.c linux/fs/reiserfs/tail_conversion.c
@@ -150,11 +150,11 @@
BUG() ;
}
mark_buffer_clean(bh) ;
- wait_on_buffer(bh) ;
- // clear_bit(BH_Uptodate, &bh->b_state) ;
+ lock_buffer(bh) ;
clear_bit(BH_Mapped, &bh->b_state) ;
clear_bit(BH_Req, &bh->b_state) ;
clear_bit(BH_New, &bh->b_state) ;
+ unlock_buffer(bh) ;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)