Whamcloud - gitweb
LU-6514 fid: remove misleading rc check in lprocfs_client_fid_width_seq_write 04/14604/5
authorOleg Drokin <oleg.drokin@intel.com>
Fri, 12 Jun 2015 13:48:13 +0000 (09:48 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 Jun 2015 02:23:40 +0000 (02:23 +0000)
commit07660179a32649e54228da26e34674f48318cbd7
tree066bd31d2eae241221813e8000f3e9b2a23a4212
parente1c0c460cf68bee0e46610c4f4f44eae57452fb5
LU-6514 fid: remove misleading rc check in lprocfs_client_fid_width_seq_write

At the very end of lprocfs_client_fid_width_seq_write in the success path
there is a very misleading rc check thta not only is out of place,
but also causes the reader to think what was the goal there.
It's after we already assign the requested variable too and only
controls the debug print.

Change-Id: I89b020b85bd8948c859fc3703f716ad8def387e1
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/14604
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: frank zago <fzago@cray.com>
lustre/fid/lproc_fid.c