msdosfs_denode.c (9a135592e24e82c959153988f74c975a0fbf8dec) | msdosfs_denode.c (aec0fb7b40e4cf877bea663f2d86dd07c3524fe8) |
---|---|
1/* $FreeBSD$ */ 2/* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). --- 234 unchanged lines hidden (view full) --- 243 */ 244 MALLOC(ldep, struct denode *, sizeof(struct denode), M_MSDOSFSNODE, M_WAITOK); 245 246 /* 247 * Directory entry was not in cache, have to create a vnode and 248 * copy it from the passed disk buffer. 249 */ 250 /* getnewvnode() does a VREF() on the vnode */ | 1/* $FreeBSD$ */ 2/* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */ 3 4/*- 5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. 6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH. 7 * All rights reserved. 8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below). --- 234 unchanged lines hidden (view full) --- 243 */ 244 MALLOC(ldep, struct denode *, sizeof(struct denode), M_MSDOSFSNODE, M_WAITOK); 245 246 /* 247 * Directory entry was not in cache, have to create a vnode and 248 * copy it from the passed disk buffer. 249 */ 250 /* getnewvnode() does a VREF() on the vnode */ |
251 error = getnewvnode("msdosfs", mntp, msdosfs_vnodeop_p, &nvp); | 251 error = getnewvnode("msdosfs", mntp, &msdosfs_vnodeops, &nvp); |
252 if (error) { 253 *depp = NULL; 254 FREE(ldep, M_MSDOSFSNODE); 255 return error; 256 } 257 bzero((caddr_t)ldep, sizeof *ldep); 258 nvp->v_data = ldep; 259 ldep->de_vnode = nvp; --- 457 unchanged lines hidden --- | 252 if (error) { 253 *depp = NULL; 254 FREE(ldep, M_MSDOSFSNODE); 255 return error; 256 } 257 bzero((caddr_t)ldep, sizeof *ldep); 258 nvp->v_data = ldep; 259 ldep->de_vnode = nvp; --- 457 unchanged lines hidden --- |