Skip to content

Commit

Permalink
jbd.h: hide kernel only code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olaf Hering authored and Linus Torvalds committed Feb 6, 2008
1 parent e1d7ae2 commit d8fd66a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/jbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <linux/lockdep.h>

#include <asm/semaphore.h>
#endif

#define journal_oom_retry 1

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d8fd66a

Please sign in to comment.