diff options
author | 2019-07-19 00:24:31 +0000 | |
---|---|---|
committer | 2019-07-19 00:24:31 +0000 | |
commit | 570df5c46ec138c3c01140bbdb153f33c5d6314c (patch) | |
tree | 662107fcfc8e33d6b8a13855f7da2fe70dab336e /sys/ufs/ext2fs/ext2fs_inode.c | |
parent | ttysleep(): drop unused timeout parameter (diff) | |
download | wireguard-openbsd-570df5c46ec138c3c01140bbdb153f33c5d6314c.tar.xz wireguard-openbsd-570df5c46ec138c3c01140bbdb153f33c5d6314c.zip |
getblk(9): tsleep(9) -> tsleep_nsec(9); ok visa@
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_inode.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index 6777333bc2b..d8398c76c8c 100644 --- a/sys/ufs/ext2fs/ext2fs_inode.c +++ b/sys/ufs/ext2fs/ext2fs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_inode.c,v 1.60 2019/07/01 05:11:32 kevlo Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.61 2019/07/19 00:24:31 cheloha Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -448,7 +448,7 @@ ext2fs_indirtrunc(struct inode *ip, int32_t lbn, int32_t dbn, int32_t lastbn, in * explicitly instead of letting bread do everything for us. */ vp = ITOV(ip); - bp = getblk(vp, lbn, (int)fs->e2fs_bsize, 0, 0); + bp = getblk(vp, lbn, (int)fs->e2fs_bsize, 0, INFSLP); if (!(bp->b_flags & (B_DONE | B_DELWRI))) { curproc->p_ru.ru_inblock++; /* pay for read */ bcstats.pendingreads++; |