[BACK]Return to puffs_msgif.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / puffs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/fs/puffs/puffs_msgif.c between version 1.71 and 1.71.6.1

version 1.71, 2008/05/06 18:43:44 version 1.71.6.1, 2008/10/19 22:17:18
Line 1018  puffs_msgif_close(void *this)
Line 1018  puffs_msgif_close(void *this)
         }          }
   
         /* Won't access pmp from here anymore */          /* Won't access pmp from here anymore */
           atomic_inc_uint((unsigned int*)&mp->mnt_refcnt);
         puffs_mp_release(pmp);          puffs_mp_release(pmp);
         mutex_exit(&pmp->pmp_lock);          mutex_exit(&pmp->pmp_lock);
   
         /*          /* Detach from VFS. */
          * Detach from VFS.  First do necessary XXX-dance (from  
          * sys_unmount() & other callers of dounmount()  
          *  
          * XXX2: take a reference to the mountpoint before starting to  
          * wait for syncer_mutex.  Otherwise the mointpoint can be  
          * wiped out while we wait. XXX Should be done earlier  
          */  
         atomic_inc_uint((unsigned int*)&mp->mnt_refcnt);  
         (void)dounmount(mp, MNT_FORCE, curlwp);          (void)dounmount(mp, MNT_FORCE, curlwp);
           vfs_destroy(mp);
   
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.71.6.1

CVSweb <webmaster@jp.NetBSD.org>