diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 01:03:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 01:03:03 (GMT) |
commit | 9733ac333081fb6eeb03d674e80bed5879f7ed1e (patch) | |
tree | 7da23c253c65314ad07a1bc49ea3a43283c22ef2 /drivers/staging/lustre/include/linux | |
parent | 68b636b68ebb58ef7a400886249be6479bdce96d (diff) | |
download | linux-fsl-qoriq-9733ac333081fb6eeb03d674e80bed5879f7ed1e.tar.xz |
staging: lustre: remove strange journal macros into the one file using them
This moves the PUSH_JOURNAL and friend macros into debug.c, as that's
the only place they are used, so why are they even a macro?
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index c78f71a..383198a 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -85,13 +85,4 @@ LL_PROC_PROTO(name) \ */ typedef struct proc_dir_entry proc_dir_entry_t; -#define DECL_JOURNAL_DATA void *journal_info -#define PUSH_JOURNAL do { \ - journal_info = current->journal_info; \ - current->journal_info = NULL; \ - } while(0) -#define POP_JOURNAL do { \ - current->journal_info = journal_info; \ - } while(0) - #endif |