staging/lustre/mdc: prevent fall through in mdc_iocontrol()
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 <250de275cb407ebee9cf359bb33b5906af685700@intel.com>
Reviewed-by: Aurelien Degremont <546b6f9d131b1cbf91fcab2f99d4e88c69d7a548@cea.fr>
Reviewed-by: jacques-Charles Lafoucriere <d484e331f196d5768b71cfb16cb652bd6228c6b1@cea.fr>
Reviewed-by: Oleg Drokin <65b2ca07820e940f66d8901813c729ec10a548f5@intel.com>
Signed-off-by: Peng Tao <39d8af57313740070ea49547576f55682fe5221a@gmail.com>
Signed-off-by: Andreas Dilger <fb9bfcd2d82414390637ce05921b7d9f9341a408@intel.com>
Signed-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs