Whamcloud - gitweb
LU-541 Fix liblustreapi.c usage of errno and rc.
authorBobi Jam <bobijam@whamcloud.com>
Thu, 28 Jul 2011 10:11:54 +0000 (18:11 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Aug 2011 16:57:33 +0000 (12:57 -0400)
commit70c52b3e8ff585d4be806f4024bc202df5e285b7
treeaf1bb08c17b97ff02ca5c4258c0b336749b621cd
parent56c3ba38463d428340475130a1f5ce0daf3713fa
LU-541 Fix liblustreapi.c usage of errno and rc.

* fix liblustreapi.c usage of errno and rc, llapi_xxx() functions should
  return negative value on error.
* enable sanity subtest 65.

Change-Id: I30d172c49b60f6f77ea57c3082d0c68f4c141dea
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1155
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: hongchao.zhang <hongchao.zhang@whamcloud.com>
Tested-by: hongchao.zhang <hongchao.zhang@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/liblustreapi.h
lustre/tests/ll_dirstripe_verify.c
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c