Re: panic(cpu 1 caller ...): vnode_put(...): iocount < 1
Re: panic(cpu 1 caller ...): vnode_put(...): iocount < 1
- Subject: Re: panic(cpu 1 caller ...): vnode_put(...): iocount < 1
- From: James Reynolds <email@hidden>
- Date: Wed, 26 Oct 2005 18:18:37 -0600
diff -pur xnu-792.2.4.org/bsd/hfs/hfs_vnops.c xnu-792.2.4/bsd/hfs/hfs_vnops.c
--- xnu-792.2.4.org/bsd/hfs/hfs_vnops.c 2005-07-12
23:36:53.000000000 +0200
+++ xnu-792.2.4/bsd/hfs/hfs_vnops.c 2005-10-12 19:18:20.000000000 +0200
@@ -267,7 +267,7 @@ hfs_vnop_getattr(struct vnop_getattr_arg
enum vtype v_type;
int error = 0;
- if ((error = hfs_lock(VTOC(vp), HFS_SHARED_LOCK))) {
+ if ((error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) {
return (error);
}
cp = VTOC(vp);
This does fix my issue. Thanks!
Seems like such a small change to make. Is there some major drawback
to the change? Besides people on this list, I haven't gotten any
feedback on my bug either.
--
Thanks,
James Reynolds
University of Utah
Student Computing Labs
email@hidden
801-585-9811
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden