Blame SOURCES/0026-grub-core-fs-xfs.c-grub_xfs_read_block-Make-keys-a-c.patch

f96e0b
From 981361e1db432371d895ac1339cc4a940cd6830e Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Wed, 5 Sep 2012 08:45:07 +0200
f96e0b
Subject: [PATCH 026/482] 	* grub-core/fs/xfs.c (grub_xfs_read_block):
f96e0b
 Make keys a const pointer.
f96e0b
f96e0b
---
f96e0b
 ChangeLog          | 4 ++++
f96e0b
 grub-core/fs/xfs.c | 2 +-
f96e0b
 2 files changed, 5 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index fbef0c3..0cf6bea 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,7 @@
f96e0b
+2012-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
f96e0b
+
f96e0b
 2012-09-04  Colin Watson  <cjwatson@ubuntu.com>
f96e0b
 
f96e0b
 	* Makefile.am (EXTRA_DIST): Add linguas.sh.  It's only strictly
f96e0b
diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c
f96e0b
index 2c6b00c..1ed048f 100644
f96e0b
--- a/grub-core/fs/xfs.c
f96e0b
+++ b/grub-core/fs/xfs.c
f96e0b
@@ -285,7 +285,7 @@ grub_xfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock)
f96e0b
 
f96e0b
   if (node->inode.format == XFS_INODE_FORMAT_BTREE)
f96e0b
     {
f96e0b
-      grub_uint64_t *keys;
f96e0b
+      const grub_uint64_t *keys;
f96e0b
       int recoffset;
f96e0b
 
f96e0b
       leaf = grub_malloc (node->data->bsize);
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b