Fix ufs_bmap so that triple indirect blocks might work.

Submitted by:	Godmar Back <gback@facility.cs.utah.edu>
This commit is contained in:
John Dyson 1995-11-05 23:07:37 +00:00
parent eeca7892a6
commit c15c761192
3 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94
* $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $
* $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $
*/
#include <sys/param.h>
@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb)
struct ufsmount *ump;
struct mount *mp;
struct vnode *devvp;
struct indir a[NIADDR], *xap;
struct indir a[NIADDR+1], *xap;
daddr_t daddr;
long metalbn;
int error, maxrun = 0, num;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94
* $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $
* $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $
*/
#include <sys/param.h>
@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb)
struct ufsmount *ump;
struct mount *mp;
struct vnode *devvp;
struct indir a[NIADDR], *xap;
struct indir a[NIADDR+1], *xap;
daddr_t daddr;
long metalbn;
int error, maxrun = 0, num;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94
* $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $
* $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $
*/
#include <sys/param.h>
@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb)
struct ufsmount *ump;
struct mount *mp;
struct vnode *devvp;
struct indir a[NIADDR], *xap;
struct indir a[NIADDR+1], *xap;
daddr_t daddr;
long metalbn;
int error, maxrun = 0, num;