Ensure that error is initialized in ufs_bmap_seekdata().

Reported and tested by:	jhibbits
MFC with:	r346932
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2019-05-05 16:57:03 +00:00
parent 1aed499575
commit 9e56947ffc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347159

View File

@ -354,6 +354,7 @@ ufs_bmap_seekdata(vp, offp)
int error, num, num1, off;
bp = NULL;
error = 0;
ip = VTOI(vp);
mp = vp->v_mount;
ump = VFSTOUFS(mp);