diff options
author | phk <phk@FreeBSD.org> | 2004-07-07 20:04:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-07 20:04:06 +0000 |
commit | 368b68e3c67a0928d9a2a71c2ca9960858c33b6e (patch) | |
tree | e212640f18e61faaf1c32db10944261f461c8b5c /sys/ufs | |
parent | c6505d698d32b1cb1e8655dc19034c544628bc1f (diff) | |
download | FreeBSD-src-368b68e3c67a0928d9a2a71c2ca9960858c33b6e.zip FreeBSD-src-368b68e3c67a0928d9a2a71c2ca9960858c33b6e.tar.gz |
Explicity initialize vp->v_bsize.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 49b1024..af3ca97 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1244,11 +1244,13 @@ ffs_vget(mp, ino, flags, vpp) /* * FFS supports recursive locking. */ + fs = ump->um_fs; vp->v_vnlock->lk_flags |= LK_CANRECURSE; vp->v_data = ip; + vp->v_bsize = fs->fs_bsize; ip->i_vnode = vp; ip->i_ump = ump; - ip->i_fs = fs = ump->um_fs; + ip->i_fs = fs; ip->i_dev = dev; ip->i_number = ino; #ifdef QUOTA |