]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hfsplus/extents.c
[PATCH] Don't allow the stack to grow into hugetlb reserved regions
[linux-2.6-omap-h63xx.git] / fs / hfsplus / extents.c
index c95559f69bcbd02037aab15f6450579a579ce7fb..1a7480089e82ef918cb71c91a52c4e86b214c2df 100644 (file)
@@ -16,7 +16,8 @@
 #include "hfsplus_raw.h"
 
 /* Compare two extents keys, returns 0 on same, pos/neg for difference */
-int hfsplus_ext_cmp_key(hfsplus_btree_key *k1, hfsplus_btree_key *k2)
+int hfsplus_ext_cmp_key(const hfsplus_btree_key *k1,
+                       const hfsplus_btree_key *k2)
 {
        __be32 k1id, k2id;
        __be32 k1s, k2s;