Whamcloud - gitweb
LU-5565 osd-ldiskfs: separate LASSERT() into two lines 98/12398/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 22 Oct 2014 18:35:31 +0000 (12:35 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Fri, 7 Nov 2014 21:26:03 +0000 (21:26 +0000)
commitbe60eadd9c36ae81864d9555b1719c1cf44b429d
tree58ac1d47dd66d8c4f592777d494b44215b262dfb
parent4f8edadbbd3ba70d9236e98518182b4d3ff5acdb
LU-5565 osd-ldiskfs: separate LASSERT() into two lines

Separate the compound assertions in osd-ldiskfs into two lines:

    LASSERT(dt_object_exists(dt) && !dt_object_remote(dt));
to
    LASSERT(dt_object_exists(dt));
    LASSERT(!dt_object_remote(dt));

so that it is possible to distinguish which of the two is being hit.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I3ff4fc28bffe955ab051ece665faa4c8a6500c1e
Reviewed-on: http://review.whamcloud.com/12398
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/osd-ldiskfs/osd_handler.c