Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 13:01:58 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: locking questions (regarding file systems)
Message-ID:  <20060803200158.61098.qmail@web30315.mail.mud.yahoo.com>
In-Reply-To: <44D253C7.6030108@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Eric Anderson <anderson@centtech.com> wrote:
> I just did, and looks like the g_vfs_close directly after the g_vfs_open 
> block (I copy-pasted) works ok.  When unmounting, it then panics on 
> g_vfs_close, probably because it's already closed from before.
> 
So the sequence:
  ...
  g_vfs_open(...);
  g_vfs_close(...);
  ...
works fine.

What r u doing between the mount and the unmount calls?
Maybe something changes, so that ...close() deadlocks?

Did u try to put debug printf's in the g_vfs_close() function? :-)

Or is there a program somewhere, that uses g_vfs_open/close?
Maybe u could learn/copy&paste from hpfs?
  http://fxr.watson.org/fxr/ident?i=g_vfs_close

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060803200158.61098.qmail>