Index: /branches/Orange-Branch/test/posix/libstat.c
===================================================================
--- /branches/Orange-Branch/test/posix/libstat.c	(revision 5656)
+++ /branches/Orange-Branch/test/posix/libstat.c	(revision 8872)
@@ -6,5 +6,4 @@
 #include <linux/types.h>
 #include <assert.h>
-#include <linux/dirent.h>
 #include <linux/unistd.h>
 
Index: /branches/Orange-Branch/test/io/trove/trove-rm.c
===================================================================
--- /branches/Orange-Branch/test/io/trove/trove-rm.c	(revision 7959)
+++ /branches/Orange-Branch/test/io/trove/trove-rm.c	(revision 8872)
@@ -116,5 +116,5 @@
     if (ret < 0) return -1;
 
-    if (s_attr.type != TROVE_TEST_FILE) {
+    if ((int)s_attr.type != TROVE_TEST_FILE) {
 	fprintf(stderr, "%s is not a file.\n", file_name);
 	return -1;
Index: /branches/Orange-Branch/test/io/trove/trove-ls.c
===================================================================
--- /branches/Orange-Branch/test/io/trove/trove-ls.c	(revision 7959)
+++ /branches/Orange-Branch/test/io/trove/trove-ls.c	(revision 8872)
@@ -93,5 +93,5 @@
     if (ret < 0) return -1;
 
-    if (s_attr.type != TROVE_TEST_DIR) {
+    if ((int)s_attr.type != TROVE_TEST_DIR) {
 	fprintf(stderr, "%s is not a directory.\n", path_name);
 	return -1;
Index: /branches/Orange-Branch/test/io/trove/trove-test.h
===================================================================
--- /branches/Orange-Branch/test/io/trove/trove-test.h	(revision 7500)
+++ /branches/Orange-Branch/test/io/trove/trove-test.h	(revision 8872)
@@ -93,5 +93,5 @@
 	if (state != 0) return -1;
 	
-	if (s_attr.type != TROVE_TEST_DIR) {
+	if ((int)s_attr.type != TROVE_TEST_DIR) {
 	    fprintf(stderr, "%s is not a directory.\n", dir);
 	    return -1;
Index: /branches/Orange-Branch/test/io/buffer/mt_test4.c
===================================================================
--- /branches/Orange-Branch/test/io/buffer/mt_test4.c	(revision 8871)
+++ /branches/Orange-Branch/test/io/buffer/mt_test4.c	(revision 8872)
@@ -27,5 +27,5 @@
     NCAC_info_t info;
 
-    int ret1, ret2, ret3;
+    int ret1, ret2;
     int extcnt;
     int threadcnt;
Index: /branches/Orange-Branch/src/kernel/linux-2.6/inode.c
===================================================================
--- /branches/Orange-Branch/src/kernel/linux-2.6/inode.c	(revision 8806)
+++ /branches/Orange-Branch/src/kernel/linux-2.6/inode.c	(revision 8872)
@@ -94,4 +94,6 @@
         if (!add_to_page_cache(page, mapping, page->index, GFP_KERNEL)) {
             ret = read_one_page(page);
+            gossip_debug(GOSSIP_INODE_DEBUG, "failure adding page to cache, "
+                         "read_one_page returned: %d\n", ret);
         }
         else {
Index: /branches/Orange-Branch/src/common/misc/pint-cached-config.c
===================================================================
--- /branches/Orange-Branch/src/common/misc/pint-cached-config.c	(revision 8869)
+++ /branches/Orange-Branch/src/common/misc/pint-cached-config.c	(revision 8872)
@@ -319,5 +319,5 @@
     }
 
-    if(type != PINT_SERVER_TYPE_META && type != PINT_SERVER_TYPE_IO)
+    if((int)type != PINT_SERVER_TYPE_META && (int)type != PINT_SERVER_TYPE_IO)
     {
         return(-PVFS_EINVAL);
@@ -336,5 +336,5 @@
     assert(cur_config_cache->fs);
 
-    if(type == PINT_SERVER_TYPE_META)
+    if((int)type == PINT_SERVER_TYPE_META)
     {
         server_cursor = 
