msdosfs_denode.c (3152) | msdosfs_denode.c (3396) |
---|---|
1/* $Id: msdosfs_denode.c,v 1.1 1994/09/19 15:41:41 dfr Exp $ */ | 1/* $Id: msdosfs_denode.c,v 1.2 1994/09/27 20:42:44 phk Exp $ */ |
2/* $NetBSD: msdosfs_denode.c,v 1.9 1994/08/21 18:44:00 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994 Wolfgang Solfrank. 6 * Copyright (C) 1994 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 81 unchanged lines hidden (view full) --- 91 return NULL; 92 if (dirclust != dep->de_dirclust 93 || diroff != dep->de_diroffset 94 || dev != dep->de_dev 95 || dep->de_refcnt == 0) 96 continue; 97 if (dep->de_flag & DE_LOCKED) { 98 dep->de_flag |= DE_WANTED; | 2/* $NetBSD: msdosfs_denode.c,v 1.9 1994/08/21 18:44:00 ws Exp $ */ 3 4/*- 5 * Copyright (C) 1994 Wolfgang Solfrank. 6 * Copyright (C) 1994 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). 9 * --- 81 unchanged lines hidden (view full) --- 91 return NULL; 92 if (dirclust != dep->de_dirclust 93 || diroff != dep->de_diroffset 94 || dev != dep->de_dev 95 || dep->de_refcnt == 0) 96 continue; 97 if (dep->de_flag & DE_LOCKED) { 98 dep->de_flag |= DE_WANTED; |
99 sleep((caddr_t)dep, PINOD); | 99 (void) tsleep((caddr_t)dep, PINOD, "msdhgt", 0); |
100 break; 101 } 102 if (!vget(DETOV(dep), 1)) 103 return dep; 104 break; 105 } 106 /* NOTREACHED */ 107} --- 594 unchanged lines hidden --- | 100 break; 101 } 102 if (!vget(DETOV(dep), 1)) 103 return dep; 104 break; 105 } 106 /* NOTREACHED */ 107} --- 594 unchanged lines hidden --- |