DragonFly kernel List (threaded) for 2008-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: HAMMER update - 12/31/2007
On Mon, Dec 31, 2007 at 05:19:25PM -0800, Matthew Dillon wrote:
> Please note that HAMMER is *NOT* yet ready for wider testing. Please
> don't start reporting bugs yet, because there are still tons of things
> for me to work through.
Probably it's still too early to report bugs, but...
Index: hammer_subs.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/vfs/hammer/hammer_subs.c,v
retrieving revision 1.10
diff -u -r1.10 hammer_subs.c
--- hammer_subs.c 1 Jan 2008 01:00:03 -0000 1.10
+++ hammer_subs.c 6 Jan 2008 10:10:26 -0000
@@ -72,8 +72,10 @@
KKASSERT(lock->refs > 0);
crit_enter();
if (lock->locktd != td) {
- if (lock->locktd != NULL || lock->lockcount)
+ if (lock->locktd != NULL || lock->lockcount) {
+ crit_exit();
return(EAGAIN);
+ }
lock->locktd = td;
}
KKASSERT(lock->lockcount >= 0);
Cheers,
YONETANI Tomokazu
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]