From: John L. Hammond Date: Tue, 26 Nov 2013 02:04:59 +0000 (+0800) Subject: staging/lustre/mdc: prevent fall through in mdc_iocontrol() X-Git-Tag: v3.14-rc1~150^2~717 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1f3d689f9f510fcab6d33be2f1c03d00f5840b8;p=pandora-kernel.git staging/lustre/mdc: prevent fall through in mdc_iocontrol() In mdc_iocontrol() add a goto to the end of the LL_IOC_HSM_STATE_SET case, preventing fall through into the next case. In the same function, replace the return statement in OBD_IOC_QUOTACTL with a goto, so that a reference to the module is not leaked. Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3576 Lustre-change: http://review.whamcloud.com/6962 Signed-off-by: John L. Hammond Reviewed-by: Aurelien Degremont Reviewed-by: jacques-Charles Lafoucriere Reviewed-by: Oleg Drokin Signed-off-by: Peng Tao Signed-off-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed