projects
/
firefly-linux-kernel-4.4.55.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 59b94c3e6c24fb4ffb6ed1bb43de1e2ce6d7dfae..b18fd3b9b8358c0fe4b6ace4b565176f0163734c 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.