Whamcloud - gitweb
LU-2127 osc: fix wrong osc_announce_cached() msgs
authorBruno Faccini <bfaccini62@gmail.com>
Wed, 10 Oct 2012 17:23:44 +0000 (19:23 +0200)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 05:12:37 +0000 (00:12 -0500)
commit612fe7b480440c4f67294175f3ace9d48112b844
tree0bbe6ffb5befd37a56a85cb686b6cd754ddc2a65
parenta0588122758ad4a8c2764c1dfa1b45097e0c95da
LU-2127 osc: fix wrong osc_announce_cached() msgs

In osc_announce_cached() wrong signed/unsigned comparison has been fixed with
a cast.

Unlikely conditions have also been specified, along with some changes to comply
coding rules.

Signed-off-by: Bruno Faccini <bfaccini62@gmail.com>
Change-Id: I8f8f2bdfc673d31054b4db2063d32c3dc34100d8
Reviewed-on: http://review.whamcloud.com/4246
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osc/osc_request.c