Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
af86d07e
Commit
af86d07e
authored
Feb 28, 2007
by
Chris Mason
Committed by
David Woodhouse
Feb 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Add sparse checking to Makefile
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
8e19f2cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
fs/btrfs/Makefile
fs/btrfs/Makefile
+7
-2
fs/btrfs/debug-tree.c
fs/btrfs/debug-tree.c
+1
-1
No files found.
fs/btrfs/Makefile
View file @
af86d07e
...
...
@@ -3,8 +3,13 @@ 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
#.c.o:
# $(CC) $(CFLAGS) -c $<
# if you don't have sparse installed, use ls instead
check
=
sparse
#check=ls
.c.o
:
$(check)
$<
$(CC)
$(CFLAGS)
-c
$<
all
:
tester debug-tree
...
...
fs/btrfs/debug-tree.c
View file @
af86d07e
...
...
@@ -6,7 +6,7 @@
#include "disk-io.h"
#include "print-tree.h"
int
main
()
{
int
main
(
int
ac
,
char
**
av
)
{
struct
ctree_super_block
super
;
struct
ctree_root
*
root
;
radix_tree_init
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment