Print this page
6198 Let's EOL cachefs

@@ -20,10 +20,11 @@
  */
 
 /*
  * Copyright 2014 Gary Mills
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  */
 
 #include <libsysevent.h>
 #include <pthread.h>
 #include <stdlib.h>

@@ -5815,12 +5816,11 @@
          * We already know which FS types don't work.
          */
         if (strcmp(type, "proc") == 0 ||
             strcmp(type, "mntfs") == 0 ||
             strcmp(type, "autofs") == 0 ||
-            strncmp(type, "nfs", sizeof ("nfs") - 1) == 0 ||
-            strcmp(type, "cachefs") == 0)
+            strncmp(type, "nfs", sizeof ("nfs") - 1) == 0)
                 return (B_FALSE);
         /*
          * The caller may do more detailed verification to make sure other
          * aspects of this filesystem type make sense.
          */