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