summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-07-19 00:24:33 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-07-19 00:24:33 +0000
commita329fbc6fd800a0e08888634a811fc200f33fbaa (patch)
treea5b12199b9eabfe55c986a534ab6e625dbfeccf1 /sys/ufs/ffs/ffs_vfsops.c
parent7e767d21df9a5f231fea78edd311fb71a0d413bd (diff)
getblk(9): tsleep(9) -> tsleep_nsec(9); ok visa@
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 41532f35faf..2d3538088d0 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vfsops.c,v 1.179 2018/09/26 14:51:44 visa Exp $ */
+/* $OpenBSD: ffs_vfsops.c,v 1.180 2019/07/19 00:24:32 cheloha Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
/*
@@ -1498,7 +1498,7 @@ ffs_sbupdate(struct ufsmount *mp, int waitfor)
if (i + fs->fs_frag > blks)
size = (blks - i) * fs->fs_fsize;
bp = getblk(mp->um_devvp, fsbtodb(fs, fs->fs_csaddr + i),
- size, 0, 0);
+ size, 0, INFSLP);
memcpy(bp->b_data, space, size);
space += size;
if (waitfor != MNT_WAIT)
@@ -1518,7 +1518,7 @@ ffs_sbupdate(struct ufsmount *mp, int waitfor)
bp = getblk(mp->um_devvp,
fs->fs_sblockloc >> (fs->fs_fshift - fs->fs_fsbtodb),
- (int)fs->fs_sbsize, 0, 0);
+ (int)fs->fs_sbsize, 0, INFSLP);
fs->fs_fmod = 0;
fs->fs_time = time_second;
memcpy(bp->b_data, fs, fs->fs_sbsize);