Commit d6426a64 authored by Parinay Kondekar's avatar Parinay Kondekar Committed by Greg Kroah-Hartman
Browse files

staging: lustre: 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.

Signed-off-by: default avatarParinay Kondekar <parinay.kondekar@seagate.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6512
Reviewed-on: http://review.whamcloud.com/18027


Reviewed-by: default avatarBobi Jam <bobijam@hotmail.com>
Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26c5d2db
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1229,9 +1229,6 @@ lmv_out_free:

		/* Get default LMV EA */
		if (lum.lum_magic == LMV_USER_MAGIC) {
			if (rc)
				goto finish_req;

			if (lmmsize > sizeof(*ulmv)) {
				rc = -EINVAL;
				goto finish_req;