$NetBSD$

--- common/dconf-shmdir.c.orig	2010-07-26 14:10:20.000000000 +0000
+++ common/dconf-shmdir.c
@@ -21,9 +21,6 @@
 
 #include "dconf-shmdir.h"
 
-#include <sys/statfs.h>
-#include <sys/vfs.h>
-#include <errno.h>
 
 #ifndef NFS_SUPER_MAGIC
 #define NFS_SUPER_MAGIC 0x6969
@@ -32,23 +29,7 @@
 static gboolean
 is_local (const gchar *filename)
 {
-  struct statfs buf;
-  gint s;
-
-  do
-    s = statfs (filename, &buf);
-  while (s < 0 && errno == EINTR);
-
-  if (s < 0 && errno == ENOENT)
-    {
-      g_mkdir_with_parents (filename, 0700);
-
-      do
-        s = statfs (filename, &buf);
-      while (s < 0 && errno == EINTR);
-    }
-
-  return s == 0 && buf.f_type != NFS_SUPER_MAGIC;
+  return 1;
 }
 
 gchar *
