Whamcloud - gitweb
LU-3360 osc: check ostid if no OBD_CONNECT_FID
authorHongchao Zhang <hongchao.zhang@intel.com>
Wed, 20 Mar 2013 15:16:10 +0000 (23:16 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 24 May 2013 19:37:07 +0000 (15:37 -0400)
commitfed98fbd8f0c84c8e757bea96bcc7c251b4ffe30
treee9f3625295fe4309aac4c003077442909a883454
parentfd7466439be3039cb27f723c57be73317b5e48ba
LU-3360 osc: check ostid if no OBD_CONNECT_FID

in lustre_set_wire_obdo, if "ocd->ocd_connect_flags" doesn't contain
OBD_CONNECT_FID, use "ost_id" to check the type of the object
instead of using ost_id.oi_fid only.

Change-Id: I4d9ef133c3d26c3f8f36d5b5b9430e941e445068
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/6426
Tested-by: Hudson
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustre_idl.h