Commit 109a1624 authored by Ankit Garg's avatar Ankit Garg Committed by Greg Kroah-Hartman

staging: lustre: lclient: lcommon_cl.c fixing coding style issues

This patch fixes the checkpatch.pl warning:

WARNING: else is not generally useful after a break or return
+                       return result;
+               } else {
Signed-off-by: default avatarAnkit Garg <kerneldvlper@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 907b8a00
......@@ -836,7 +836,7 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
*exceed = 1;
}
return result;
} else {
}
/*
* region is within kms and, hence, within real file
* size (A). We need to increase i_size to cover the
......@@ -856,7 +856,6 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
}
}
}
ccc_object_size_unlock(obj);
return result;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment