Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753821AbcJDIyC (ORCPT ); Tue, 4 Oct 2016 04:54:02 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45644 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752871AbcJDIxr (ORCPT ); Tue, 4 Oct 2016 04:53:47 -0400 From: Pierre Morel To: viro@zeniv.linux.org.uk Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, mguzik@redhat.com, farman@linux.vnet.ibm.com, cornelia.huck@de.ibm.com Subject: [PATCH] return the right error in thaw_bdev() Date: Tue, 4 Oct 2016 10:53:39 +0200 X-Mailer: git-send-email 1.7.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16100408-0036-0000-0000-0000023CAF94 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16100408-0037-0000-0000-000012BB0A7C Message-Id: <1475571220-2522-1-git-send-email-pmorel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-04_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1610040156 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 515 Lines: 19 When triggering thaw-filesystems via magic sysrq, the system freezes. It is due to an error in thaw_bdev() for which I sent a patch in august 2015, but the patch has not been applied and the problem remains. Since the original subject "always return an error..." may be confusing, I changed the subject line and rebased the patch on Linux 4.8-rc8. Pierre Morel (1): fs/block_dev.c: return the right error in thaw_bdev() fs/block_dev.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.5.0