Severity : normal
Bugzilla : 11737
+Frequency : always
Description: Short directio read returns full requested size rather than
actual amount read.
Details : Direct I/O operations should return actual amount of bytes
Severity : minor
Bugzilla : 12747
+Frequency : always
Description: fix mal-formatted messages
Details : fix some mal-formatted DEBUG_REQ and LCONSOLE_ERROR_MSG messages
+
+Severity : minor
+Bugzilla : 11737
+Frequency : always in liblustre
+Description: wrong IS_ERR implementation in liblustre.h
+Details : fix IS_ERR implementation in liblustre.h for right detect errors.
+
--------------------------------------------------------------------------------
2007-05-03 Cluster File Systems, Inc. <info@clusterfs.com>
#define GFP_HIGHUSER 1
#define GFP_ATOMIC 1
#define GFP_NOFS 1
-#define IS_ERR(a) ((unsigned long)(a) < 1000)
+#define IS_ERR(a) ((unsigned long)(a) > (unsigned long)-1000L)
#define PTR_ERR(a) ((long)(a))
#define ERR_PTR(a) ((void*)((long)(a)))