locking questions (regarding file systems)
    R. B. Riddick 
    arne_woerner at yahoo.com
       
    Thu Aug  3 20:02:07 UTC 2006
    
    
  
--- Eric Anderson <anderson at 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 
    
    
More information about the freebsd-fs
mailing list