summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_subr.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-03-07 07:09:55 +0000
committermckusick <mckusick@FreeBSD.org>2001-03-07 07:09:55 +0000
commit61db3f4296e7cbf26765b9523064a58053f033d1 (patch)
treebf90f85e1534824e6dd81dcd98746b86c51cf6c1 /sys/ufs/ffs/ffs_subr.c
parent48c0c7d0fdb3955d984e7d3880153b7b5c711565 (diff)
downloadFreeBSD-src-61db3f4296e7cbf26765b9523064a58053f033d1.zip
FreeBSD-src-61db3f4296e7cbf26765b9523064a58053f033d1.tar.gz
Fixes to track snapshot copy-on-write checking in the specinfo
structure rather than assuming that the device vnode would reside in the FFS filesystem (which is obviously a broken assumption with the device filesystem).
Diffstat (limited to 'sys/ufs/ffs/ffs_subr.c')
-rw-r--r--sys/ufs/ffs/ffs_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index 5155a42..c3471de 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -191,6 +191,7 @@ ffs_isblock(fs, cp, h)
default:
panic("ffs_isblock");
}
+ return (0);
}
/*
@@ -215,6 +216,7 @@ ffs_isfreeblock(fs, cp, h)
default:
panic("ffs_isfreeblock");
}
+ return (0);
}
/*
OpenPOWER on IntegriCloud