Whamcloud - gitweb
LU-5416 ofd: improve error handling in ofd_precreate_objects() 70/11370/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 7 Aug 2014 19:37:17 +0000 (14:37 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 Sep 2014 01:13:40 +0000 (01:13 +0000)
commit51e076360d6d1cbc6a128324bdc18aa833a66614
treea90a8ca777043e6240bbdd462a2c2f0b0d58074d
parentb65efe20dc07f925e06d58658cd24247ae36037c
LU-5416 ofd: improve error handling in ofd_precreate_objects()

In ofd_precreate_objects() fix two invalid assertions triggered by
errors in the first iterations of the declare loop and the create
loop.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I8bee1528dc58d5b8b35ac89056c667370cc347c5
Reviewed-on: http://review.whamcloud.com/11370
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ofd/ofd_objects.c