From: Charles Manning Date: Thu, 25 Nov 2010 23:26:00 +0000 (+1300) Subject: yaffs direct: Add ELOOP definition X-Git-Tag: linux-mainline-patchset-4~54 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=d05dbe42354154b7c4d27f3debf2831223b31b4d yaffs direct: Add ELOOP definition Signed-off-by: Charles Manning --- diff --git a/direct/timothy_tests/quick_tests/lib.h b/direct/timothy_tests/quick_tests/lib.h index f24e3aa..09808dd 100644 --- a/direct/timothy_tests/quick_tests/lib.h +++ b/direct/timothy_tests/quick_tests/lib.h @@ -20,10 +20,6 @@ #include #include "yaffsfs.h" - -#define ELOOP 10 //the error code ELOOP is not defined yet so I'm making a stand in. - - #define YAFFS_MOUNT_POINT "/yaffs2/" #define FILE_NAME "foo" #define FILE_SIZE 10 diff --git a/direct/yportenv.h b/direct/yportenv.h index 3f368aa..7001150 100644 --- a/direct/yportenv.h +++ b/direct/yportenv.h @@ -199,6 +199,10 @@ #define EISDIR 21 #endif +#ifndef ELOOP +#define ELOOP 40 +#endif + // Mode flags