mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Fix ufs_bmap so that triple indirect blocks might work.
Submitted by: Godmar Back <gback@facility.cs.utah.edu>
This commit is contained in:
parent
eeca7892a6
commit
c15c761192
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user