Whamcloud - gitweb
LU-4930 llite: add error handler in inode prepare phase 70/10170/6
authorwang di <di.wang@intel.com>
Wed, 30 Apr 2014 12:09:13 +0000 (05:09 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 5 May 2014 21:34:28 +0000 (21:34 +0000)
Add error handler during inode inialization, so inode will
become bad inode if something bad happens during inode prepare
phase, otherwise the striped directory will not get its layout
and being mis-regarded as normal directory.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I1a08a18f28d4eec1ab7dc7e13fa39585ff65deeb
Reviewed-on: http://review.whamcloud.com/10170
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found