summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/statfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64/statfs.h')
-rw-r--r--include/asm-mips64/statfs.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/asm-mips64/statfs.h b/include/asm-mips64/statfs.h
new file mode 100644
index 000000000..7bb7ad913
--- /dev/null
+++ b/include/asm-mips64/statfs.h
@@ -0,0 +1,39 @@
+/* $Id$
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 1995, 1999 by Ralf Baechle
+ */
+#ifndef _ASM_STATFS_H
+#define _ASM_STATFS_H
+
+#include <linux/posix_types.h>
+
+#ifndef __KERNEL_STRICT_NAMES
+
+#include <linux/types.h>
+
+typedef __kernel_fsid_t fsid_t;
+
+#endif
+
+struct statfs {
+ long f_type;
+#define f_fstyp f_type
+ long f_bsize;
+ long f_frsize; /* Fragment size - unsupported */
+ long f_blocks;
+ long f_bfree;
+ long f_files;
+ long f_ffree;
+
+ /* Linux specials */
+ long f_bavail;
+ __kernel_fsid_t f_fsid;
+ long f_namelen;
+ long f_spare[6];
+};
+
+#endif /* _ASM_STATFS_H */