Whamcloud - gitweb
LU-6512 llite:ll_dir_ioctl cleanup of redundant comparisons 27/18027/7
authorParinay Kondekar <parinay.kondekar@seagate.com>
Mon, 18 Jan 2016 03:29:35 +0000 (08:59 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 May 2016 23:58:37 +0000 (23:58 +0000)
commitc341ac9083c1764675c92363e1dd8bcd3223788a
treee402c2556c4569bc5509d67b82adf470f5d2edba
parent5db0e2de00f6b3d687fc4fe01f05a687fc74271c
LU-6512 llite:ll_dir_ioctl cleanup of redundant comparisons

In ll_dir_ioctl() two identical comparisions are present for
return code (rc) of ll_dir_getstripe(). This patch removes
the other inside if( ) condition which is not necessary.

Change-Id: Ia32dd5ac5937d30dd3676094ef99a623e5cca608
Signed-off-by: Parinay Kondekar <parinay.kondekar@seagate.com>
Reviewed-on: http://review.whamcloud.com/18027
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/dir.c