Whamcloud - gitweb
LU-359 llite: no close error if application has known failure
authorFan Yong <yong.fan@whamcloud.com>
Wed, 1 Aug 2012 13:02:36 +0000 (21:02 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Tue, 21 Aug 2012 12:37:00 +0000 (08:37 -0400)
commit01811d424cf29f57a4ef455e1851b5c0c0b168a3
treee7dded806340c74892cbabf1b0bf7b15d6924ab4
parent944d1c14644bc14eb4cf78c19b8099b5efa7c5e5
LU-359 llite: no close error if application has known failure

Don't return error again when close if the application has known
former write failure to avoid potenical rdundant error handling,
like confused error message.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I62d9cd83fc03fad22c994f2a77774ca113a6c057
Reviewed-on: http://review.whamcloud.com/596
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_internal.h