summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-29 20:05:33 +0000
committerphk <phk@FreeBSD.org>1999-09-29 20:05:33 +0000
commit073b941095e3deeaae66ec3452643c4db25deb08 (patch)
treedc46eb78c9f06021563b06118514348a52010687 /sys/gnu
parentaf7bbb9a33441701ff5146882af25965b2f6a467 (diff)
downloadFreeBSD-src-073b941095e3deeaae66ec3452643c4db25deb08.zip
FreeBSD-src-073b941095e3deeaae66ec3452643c4db25deb08.tar.gz
Remove v_maxio from struct vnode.
Replace it with mnt_iosize_max in struct mount. Nits from: bde
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_bmap.c3
-rw-r--r--sys/gnu/fs/ext2fs/ext2_bmap.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_bmap.c b/sys/gnu/ext2fs/ext2_bmap.c
index 22f83c3..14ef56e 100644
--- a/sys/gnu/ext2fs/ext2_bmap.c
+++ b/sys/gnu/ext2fs/ext2_bmap.c
@@ -133,8 +133,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb)
*runb = 0;
}
- vp->v_maxio = devvp->v_maxio;
- maxrun = vp->v_maxio / mp->mnt_stat.f_iosize - 1;
+ maxrun = mp->mnt_iosize_max / mp->mnt_stat.f_iosize - 1;
xap = ap == NULL ? a : ap;
if (!nump)
diff --git a/sys/gnu/fs/ext2fs/ext2_bmap.c b/sys/gnu/fs/ext2fs/ext2_bmap.c
index 22f83c3..14ef56e 100644
--- a/sys/gnu/fs/ext2fs/ext2_bmap.c
+++ b/sys/gnu/fs/ext2fs/ext2_bmap.c
@@ -133,8 +133,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb)
*runb = 0;
}
- vp->v_maxio = devvp->v_maxio;
- maxrun = vp->v_maxio / mp->mnt_stat.f_iosize - 1;
+ maxrun = mp->mnt_iosize_max / mp->mnt_stat.f_iosize - 1;
xap = ap == NULL ? a : ap;
if (!nump)
OpenPOWER on IntegriCloud