Skip to content

Commit

Permalink
Btrfs: return code checking
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason authored and David Woodhouse committed Feb 28, 2007
1 parent af86d07 commit aa5d6be
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 228 deletions.
5 changes: 4 additions & 1 deletion fs/btrfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@

CC=gcc
CFLAGS = -g -Wall
headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h
objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o

# if you don't have sparse installed, use ls instead
check=sparse
CHECKFLAGS=-D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise \
-Wcontext -Wcast-truncate -Wuninitialized -Wshadow -Wundef
check=sparse $(CHECKFLAGS)
#check=ls

.c.o:
Expand Down
Loading

0 comments on commit aa5d6be

Please sign in to comment.