ext2_bmap.c (1541) | ext2_bmap.c (1549) |
---|---|
1/* 2 * Copyright (c) 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 98 unchanged lines hidden (view full) --- 107 register struct inode *ip; 108 struct buf *bp; 109 struct ufsmount *ump; 110 struct mount *mp; 111 struct vnode *devvp; 112 struct indir a[NIADDR], *xap; 113 daddr_t daddr; 114 long metalbn; | 1/* 2 * Copyright (c) 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 98 unchanged lines hidden (view full) --- 107 register struct inode *ip; 108 struct buf *bp; 109 struct ufsmount *ump; 110 struct mount *mp; 111 struct vnode *devvp; 112 struct indir a[NIADDR], *xap; 113 daddr_t daddr; 114 long metalbn; |
115 int error, maxrun, num; | 115 int error, maxrun = 0, num; |
116 117 ip = VTOI(vp); 118 mp = vp->v_mount; 119 ump = VFSTOUFS(mp); 120#ifdef DIAGNOSTIC 121 if (ap != NULL && nump == NULL || ap == NULL && nump != NULL) 122 panic("ufs_bmaparray: invalid arguments"); 123#endif --- 171 unchanged lines hidden --- | 116 117 ip = VTOI(vp); 118 mp = vp->v_mount; 119 ump = VFSTOUFS(mp); 120#ifdef DIAGNOSTIC 121 if (ap != NULL && nump == NULL || ap == NULL && nump != NULL) 122 panic("ufs_bmaparray: invalid arguments"); 123#endif --- 171 unchanged lines hidden --- |