From: Oleg Drokin Date: Thu, 25 Feb 2016 03:00:09 +0000 (-0500) Subject: staging/lustre: Remove server-side changelog defines X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f536f2cb9cc35b872e0019e6d12cedea32775a2f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging/lustre: Remove server-side changelog defines CHANGELOG_MAGIC, CHANGELOG_MINMASK, CHANGELOG_ALLMASK, CHANGELOG_DEFMASK and CHANGELOG_USER_PREFIX are all unused on the client. Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h index 90ff181fde9b..d2f05e3dc1ea 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h @@ -3039,15 +3039,6 @@ struct llog_size_change_rec { struct llog_rec_tail lsc_tail; } __packed; -#define CHANGELOG_MAGIC 0xca103000 - -/** \a changelog_rec_type's that can't be masked */ -#define CHANGELOG_MINMASK (1 << CL_MARK) -/** bits covering all \a changelog_rec_type's */ -#define CHANGELOG_ALLMASK 0XFFFFFFFF -/** default \a changelog_rec_type mask */ -#define CHANGELOG_DEFMASK CHANGELOG_ALLMASK & ~(1 << CL_ATIME | 1 << CL_CLOSE) - /* changelog llog name, needed by client replicators */ #define CHANGELOG_CATALOG "changelog_catalog" @@ -3069,8 +3060,6 @@ struct llog_changelog_ext_rec { struct llog_rec_tail cr_tail; /**< for_sizezof_only */ } __packed; -#define CHANGELOG_USER_PREFIX "cl" - struct llog_changelog_user_rec { struct llog_rec_hdr cur_hdr; __u32 cur_id;