[PATCH 5.4 099/215] loop: Call loop_config_discard() only after new config is applied