aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_snapshot.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2019-06-17 19:49:08 +0000
committerXin LI <delphij@FreeBSD.org>2019-06-17 19:49:08 +0000
commitf89d2072795407d7c3afff865b988e021c1451a2 (patch)
treefc7552224ad2e9653cf440ba79eb8f3a5ea6129a /sys/ufs/ffs/ffs_snapshot.c
parent2d4a74d7a0a6295ec462a3a2e5f2588bd21eb36a (diff)
downloadsrc-f89d2072795407d7c3afff865b988e021c1451a2.tar.gz
src-f89d2072795407d7c3afff865b988e021c1451a2.zip
Separate kernel crc32() implementation to its own header (gsb_crc32.h) and
rename the source to gsb_crc32.c. This is a prerequisite of unifying kernel zlib instances. PR: 229763 Submitted by: Yoshihiro Ota <ota at j.email.ne.jp> Differential Revision: https://reviews.freebsd.org/D20193
Notes
Notes: svn path=/head/; revision=349151
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index 36449e9cb2cf..bc279e27269f 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/conf.h>
+#include <sys/gsb_crc32.h>
#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/fcntl.h>