Whamcloud - gitweb
LU-1199 ldiskfs: Remove HAVE_{EXT4,JBD2}_JOURNAL_CALLBACK_{SET,ADD}
authorChristopher J. Morrone <morrone2@llnl.gov>
Mon, 28 Jan 2013 17:28:25 +0000 (09:28 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 9 Feb 2013 07:19:08 +0000 (02:19 -0500)
commitc52d5f2913c33eb7efe0d8a9073c90091e169b8c
tree59ef99e5c3bdc8f88707e787ea6dc5a90b743768
parent0f8b7f951e7f43dbf389a431afea2091388a805e
LU-1199 ldiskfs: Remove HAVE_{EXT4,JBD2}_JOURNAL_CALLBACK_{SET,ADD}

Lustre servers now only support kernels/ldiskfs with
{ext4,ldiskfs}_journal_callback_add().  Additionally, the
HAVE_EXT4_JOURNAL_CALLBACK_ADD define is not in the upstream
3.3 kernel where the ext4_journal_callback_add() patch landed.

Therefore we remove the HAVE_{LDISKFS,EXT4}_JOURNAL_CALLBACK_{SET,ADD}
checks and just assume that it is set.

Change-Id: I10cc79fcf07dd05a10ae83014f188c613ab1620c
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/5055
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
build/autoconf/lustre-build-ldiskfs.m4
ldiskfs/config/ldiskfs-build.m4
lustre/lvfs/fsfilt_ext3.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h