Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8fd66aa authored by Olaf Hering's avatar Olaf Hering Committed by Linus Torvalds
Browse files

jbd.h: hide kernel only code



Move a few kernel-only things into __KERNEL__.

Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e1d7ae24
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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.