Linux 3.4 compat, d_make_root() replaces d_alloc_root()
[zfs.git] / lib / libspl / include / sys / mnttab.h
index 70f1449..a30549a 100644 (file)
 
 #ifdef MNTTAB
 #undef MNTTAB
-#endif
+#endif /* MNTTAB */
 
-#define MNTTAB "/proc/mounts"
-#define MNT_LINE_MAX 1024
+#define        MNTTAB          "/etc/mtab"
+#define        MNT_LINE_MAX    1024
 
-#define MNT_TOOLONG 1    /* entry exceeds MNT_LINE_MAX */
-#define MNT_TOOMANY 2    /* too many fields in line */
-#define MNT_TOOFEW  3    /* too few fields in line */
+#define        MNT_TOOLONG     1       /* entry exceeds MNT_LINE_MAX */
+#define        MNT_TOOMANY     2       /* too many fields in line */
+#define        MNT_TOOFEW      3       /* too few fields in line */
 
 struct mnttab {
        char *mnt_special;