lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] hide kernel only code in linux/jbd.h

Move a few kernel only stuff into __KERNEL__

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
include/linux/jbd.h | 2 --
1 file changed, 2 deletions(-)

--- 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, s

#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.

\
 
 \ /
  Last update: 2008-01-25 19:07    [W:4.117 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site