Whamcloud - gitweb
LU-1901 ldiskfs: compile error for sles11 when JBD2_DEBUG is on
authorVladimir Saveliev <vladimir.saveliev@oracle.com>
Sun, 9 Sep 2012 08:57:03 +0000 (12:57 +0400)
committerJohann Lombardi <johann.lombardi@intel.com>
Tue, 11 Dec 2012 14:58:05 +0000 (09:58 -0500)
commit5631c58cb30f78fe48536a2216b6bad5c6308ad2
tree1a99ae1ad3c1dbe00d74439b825c52f521524b46
parent84883e7419c72af619760488d18a8766e00ae322
LU-1901 ldiskfs: compile error for sles11 when JBD2_DEBUG is on

The only change is the below hunk for ext4/inode.c:ext4_forget():
        jbd_debug(4, "forgetting bh %p: is_metadata = %d, mode %o, "
-                 "data mode %xn",
+                 "data mode %Lxn",
                  bh, is_metadata, inode->i_mode,
                  test_opt(inode->i_sb, DATA_FLAGS));

It is needed because for sles11 s_mount_opt of struct ext4_sb_info
is changed to unsigned long long.

Signed-off-by: Vladimir Saveliev <vladimir.saveliev@oracle.com>
Change-Id: I59646b821b83eed08a67124a9f52ab8dcb9b46ae
Reviewed-on: http://review.whamcloud.com/3943
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
ldiskfs/kernel_patches/patches/ext4-misc-sles11.patch