aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/libufs.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2007-12-16 18:02:37 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2007-12-16 18:02:37 +0000
commit20a0f65b772116883bdb6337866cc65ef0b598af (patch)
tree266edbea169e3c5da7e39384e9df2a767e149eae /lib/libufs/libufs.h
parent2ec43f35f4d8dfa8113c2549a38862f9fbc095ad (diff)
downloadsrc-20a0f65b772116883bdb6337866cc65ef0b598af.tar.gz
src-20a0f65b772116883bdb6337866cc65ef0b598af.zip
Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slab
of the disk.
Notes
Notes: svn path=/head/; revision=174668
Diffstat (limited to 'lib/libufs/libufs.h')
-rw-r--r--lib/libufs/libufs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libufs/libufs.h b/lib/libufs/libufs.h
index 92ab3482a2f7..42a64f76e2b0 100644
--- a/lib/libufs/libufs.h
+++ b/lib/libufs/libufs.h
@@ -104,6 +104,7 @@ __BEGIN_DECLS
*/
ssize_t bread(struct uufsd *, ufs2_daddr_t, void *, size_t);
ssize_t bwrite(struct uufsd *, ufs2_daddr_t, const void *, size_t);
+int berase(struct uufsd *, ufs2_daddr_t, ufs2_daddr_t);
/*
* cgroup.c