OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d7ae2
)
jbd.h: hide kernel only code
author
Olaf Hering
<olaf@aepfle.de>
Wed, 6 Feb 2008 09:40:19 +0000
(
01:40
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:21 +0000
(10:41 -0800)
Move a few kernel-only things into __KERNEL__.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/jbd.h
patch
|
blob
|
history
diff --git
a/include/linux/jbd.h
b/include/linux/jbd.h
index
59b94c3
..
b18fd3b
100644
(file)
--- a/
include/linux/jbd.h
+++ b/
include/linux/jbd.h
@@
-33,7
+33,6
@@
#include <linux/lockdep.h>
#include <asm/semaphore.h>
-#endif
#define journal_oom_retry 1
@@
-84,7
+83,6
@@
static inline void jbd_free(void *ptr, size_t size)
#define JFS_MIN_JOURNAL_BLOCKS 1024
-#ifdef __KERNEL__
/**
* typedef handle_t - The handle_t type represents a single atomic update being performed by some process.