mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Fixed VOP_BMAP. A new argument was added, and I missed this one.
Submitted by: Bruce Evans (bde@freebsd.org)
This commit is contained in:
parent
170db9c63a
commit
b3aad5a729
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10557
@ -292,7 +292,7 @@ vnstrategy(struct buf *bp)
|
||||
int off, s, nra;
|
||||
|
||||
nra = 0;
|
||||
error = VOP_BMAP(vn->sc_vp, bn / bsize, &vp, &nbn, &nra);
|
||||
error = VOP_BMAP(vn->sc_vp, bn / bsize, &vp, &nbn, &nra, NULL);
|
||||
if (error == 0 && (long)nbn == -1)
|
||||
error = EIO;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user