/*
* errors.h - Definitions of error numbers returned by filesystems
*
- * Copyright (C) 2001 Ethan Benson
+ * Copyright (C) 2001 Ethan Benson
*
* Copyright (C) 1999 Benjamin Herrenschmidt
*
#define FILE_ERR_LENGTH -10
#define FILE_ERR_FSBUSY -11
#define FILE_ERR_BADDEV -12
+#define FILE_ERR_NOMEM -13
+
+/* Device kind */
+#define FILE_DEVICE_BLOCK 1
+#define FILE_DEVICE_NET 2
+#define FILE_DEVICE_ISCSI 3