Whamcloud - gitweb
LU-5352 dt: correct if condition in dt_index_read() 21/11121/6
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 16 Jul 2014 20:35:33 +0000 (15:35 -0500)
committerAndreas Dilger <andreas.dilger@intel.com>
Sat, 25 Oct 2014 00:00:49 +0000 (00:00 +0000)
commit9adb4551536e985b0018c6e12298e1be34a3b16a
treee3a5de630495710b49853543ce8598547a1c624e
parentca209745ef7d4e33ed0ba8fe8a3fe2ea6ed4eb8a
LU-5352 dt: correct if condition in dt_index_read()

In dt_index_read() return -EPROTO if rdpg->rp_count is zero or is not
divisible by LU_PAGE_SIZE.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ib4f884bf0759b81978336d68fea45cf7a5d8a70f
Reviewed-on: http://review.whamcloud.com/11121
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/obdclass/dt_object.c