diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/jbd2.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index e3677929884a..5f8b876c6677 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h | |||
@@ -71,13 +71,6 @@ extern u8 jbd2_journal_enable_debug; | |||
71 | #define jbd_debug(f, a...) /**/ | 71 | #define jbd_debug(f, a...) /**/ |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | extern void * __jbd2_kmalloc (const char *where, size_t size, gfp_t flags, int retry); | ||
75 | #define jbd_kmalloc(size, flags) \ | ||
76 | __jbd2_kmalloc(__FUNCTION__, (size), (flags), journal_oom_retry) | ||
77 | #define jbd_rep_kmalloc(size, flags) \ | ||
78 | __jbd2_kmalloc(__FUNCTION__, (size), (flags), 1) | ||
79 | |||
80 | |||
81 | static inline void *jbd2_alloc(size_t size, gfp_t flags) | 74 | static inline void *jbd2_alloc(size_t size, gfp_t flags) |
82 | { | 75 | { |
83 | return (void *)__get_free_pages(flags, get_order(size)); | 76 | return (void *)__get_free_pages(flags, get_order(size)); |