Whamcloud - gitweb
LU-4353 strncmp: Replace incorrect strncmp()s with strcmp() 02/8702/2
authorSwapnil Pimpale <spimpale@ddn.com>
Thu, 2 Jan 2014 16:50:36 +0000 (22:20 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 18 Jan 2014 05:51:41 +0000 (05:51 +0000)
commita674871d5f9e4819b3428593e24df6e52096612f
treea95f92d60f8cd047f1e5fe1e95d1afb97b8357fc
parentb5f3d6db9200e369a68284a8ef85a1205e5905e1
LU-4353 strncmp: Replace incorrect strncmp()s with strcmp()

This patch fixes a few places where strncmp() is used but strcmp()
was meant. It also corrects calls to strncmp() in functions
mdd_declare_xattr_del() and mgs_setparam().

Change-Id: I6f0fa4230bca10e8e7b310783bb89628a6eb788f
Signed-off-by: Swapnil Pimpale <spimpale@ddn.com>
Reviewed-on: http://review.whamcloud.com/8702
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_xattr.c
lustre/mgs/mgs_llog.c
lustre/target/out_handler.c