From 60eefb3f0b2781c96359550fee12d5d444c43ab6 Mon Sep 17 00:00:00 2001
From: girish <girish>
Date: Thu, 28 Feb 2008 10:41:20 +0000
Subject: [PATCH] Fix for sanity quota failure. (From Kalpak) b=13487

---
 .../patches/jbd-journal-chksum-2.6-sles10.patch               | 4 ++--
 .../patches/jbd-journal-chksum-2.6.18-vanilla.patch           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6-sles10.patch b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6-sles10.patch
index 561f62cc93..4f4f0693bc 100644
--- a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6-sles10.patch
+++ b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6-sles10.patch
@@ -334,8 +334,8 @@ Index: linux-2.6.16.53-0.16/include/linux/jbd.h
 +#define JFS_KNOWN_COMPAT_FEATURES	JFS_FEATURE_COMPAT_CHECKSUM
  #define JFS_KNOWN_ROCOMPAT_FEATURES	0
 -#define JFS_KNOWN_INCOMPAT_FEATURES	JFS_FEATURE_INCOMPAT_REVOKE
-+#define JFS_KNOWN_INCOMPAT_FEATURES	JFS_FEATURE_INCOMPAT_REVOKE | \
-+					JFS_FEATURE_INCOMPAT_ASYNC_COMMIT
++#define JFS_KNOWN_INCOMPAT_FEATURES	(JFS_FEATURE_INCOMPAT_REVOKE | \
++					JFS_FEATURE_INCOMPAT_ASYNC_COMMIT)
  
  #ifdef __KERNEL__
  
diff --git a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch
index 7cb1b153f5..90ede90000 100644
--- a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch
+++ b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch
@@ -342,8 +342,8 @@ Index: linux-2.6.18.8/include/linux/jbd.h
 +#define JFS_KNOWN_COMPAT_FEATURES	JFS_FEATURE_COMPAT_CHECKSUM
  #define JFS_KNOWN_ROCOMPAT_FEATURES	0
 -#define JFS_KNOWN_INCOMPAT_FEATURES	JFS_FEATURE_INCOMPAT_REVOKE
-+#define JFS_KNOWN_INCOMPAT_FEATURES	JFS_FEATURE_INCOMPAT_REVOKE | \
-+					JFS_FEATURE_INCOMPAT_ASYNC_COMMIT
++#define JFS_KNOWN_INCOMPAT_FEATURES	(JFS_FEATURE_INCOMPAT_REVOKE | \
++					JFS_FEATURE_INCOMPAT_ASYNC_COMMIT)
  
  #ifdef __KERNEL__
  
-- 
GitLab