path: root/mkfs.c
diff options
authorZach Brown <>2013-08-14 16:16:32 -0700
committerDavid Sterba <>2013-09-03 19:41:01 +0200
commit7eab7f2a9cf0d261cb49fdd440828370db5af72a (patch)
tree0555baf4ebd344b24a902338bc515826a832b3a4 /mkfs.c
parentdfc66e3c9302470278e6a38c6a5c833153b99922 (diff)
btrfs-progs: remove __CHECKER__ from main code
__CHECKER__ is only for the type juggling used to tell sparse which types need conversion between address spaces. It is not OK to use to change the code that gets checked to avoid bugs elsewhere in the build infrastructure. We want to check the code that builds when the checker isn't enabled. Signed-off-by: Zach Brown <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'mkfs.c')
1 files changed, 0 insertions, 3 deletions
diff --git a/mkfs.c b/mkfs.c
index 5238b897..6f9a160f 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -21,12 +21,9 @@
#include "kerncompat.h"
-#ifndef __CHECKER__
#include <sys/ioctl.h>
#include <sys/mount.h>
#include "ioctl.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>