From patchwork Mon Nov 19 08:07:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxiao Bi X-Patchwork-Id: 10688257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C29A6C5 for ; Mon, 19 Nov 2018 08:09:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AC0329A57 for ; Mon, 19 Nov 2018 08:09:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F4C429A62; Mon, 19 Nov 2018 08:09:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9371D29A57 for ; Mon, 19 Nov 2018 08:09:30 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAJ88VfL109048; Mon, 19 Nov 2018 08:09:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : date : message-id : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : mime-version : content-type : content-transfer-encoding : sender; s=corp-2018-07-02; bh=hbR942KSLfNzzzlB5cjhZKpwPv1tp4TE8StzhwzGddw=; b=0TfLFeqsOcj9sJavYrl7XvCZ8D2rlRD85/6RltMgGaiIyhKhn8y7FpPKJrU0XRnp7BIi 7Wt4jP0dgvn5Ta5ma1EvtNO5JwNtG9b/prSoNwjPgBLv7Z1Tv1fkNuC0BjepOuzNbqEK E5FRm/+FtFE4xR3ei4fJlwPpBTwE+LcMg1WCFWJkZQNC9Z1TZlNzrywL3UM4sSWY2+Tu LFhO22z6Q2/Z786LRbLIJsV1zsAPYA9n5aG0XNtSOYZg2Vw39fSsQEBmQFTx7SYHmgNY wKyUj2UOtDwpnzs6RceYDUCp8AlwIDiyySBFrbyBodXfB9sfsH9Bl/TPTmG2rVWloSu8 gg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2ntaxpvk2q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Nov 2018 08:09:12 +0000 Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ898hS015909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Nov 2018 08:09:08 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1gOecG-0003KG-8c; Mon, 19 Nov 2018 00:09:08 -0800 Received: from aserv0022.oracle.com ([141.146.126.234]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1gOebq-0003It-Cq for ocfs2-devel@oss.oracle.com; Mon, 19 Nov 2018 00:08:42 -0800 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ88eLD014238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Nov 2018 08:08:40 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ88dXj008333; Mon, 19 Nov 2018 08:08:40 GMT Received: from jubi-laptop.cn.oracle.com (/10.8.169.172) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 19 Nov 2018 00:08:39 -0800 From: Junxiao Bi To: ocfs2-devel@oss.oracle.com Date: Mon, 19 Nov 2018 16:07:24 +0800 Message-Id: <20181119080725.13059-1-junxiao.bi@oracle.com> X-Mailer: git-send-email 2.17.1 Subject: [Ocfs2-devel] [PATCH 1/2] ocfs2: fix panic due to unrecovered local alloc X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9081 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811190078 X-Virus-Scanned: ClamAV using ClamSMTP mount.ocfs2 ignore the inconsistent error that journal is clean but local alloc is unrecovered. After mount, local alloc not empty, then reserver cluster didn't alloc a new local alloc window, reserveration map is empty(ocfs2_reservation_map.m_bitmap_len = 0), that triggered the following panic. This issue was ever reported at https://oss.oracle.com/pipermail/ocfs2-devel/2015-May/010854.html and was advised to fixed during mount. But this is a very unusual inconsistent state, usually journal dirty flag should be cleared at the last stage of umount until every other things go right. We may need do further debug to check that. Any way to avoid possible futher corruption, mount should be abort and fsck should be run. [ 44.760372] (mount.ocfs2,1765,1):ocfs2_load_local_alloc:353 ERROR: Local alloc hasn't been recovered! found = 6518, set = 6518, taken = 8192, off = 15912372 [ 44.780879] ocfs2: Mounting device (202,64) on (node 0, slot 3) with ordered data mode. [ 44.872435] o2dlm: Joining domain 89CEAC63CC4F4D03AC185B44E0EE0F3F ( 0 1 2 3 4 5 6 8 ) 8 nodes [ 44.902414] ocfs2: Mounting device (202,80) on (node 0, slot 3) with ordered data mode. [ 46.066444] o2hb: Region 89CEAC63CC4F4D03AC185B44E0EE0F3F (xvdf) is now a quorum device [ 178.576454] o2net: Accepted connection from node yvwsoa17p (num 7) at 172.22.77.88:7777 [ 191.175670] o2dlm: Node 7 joins domain 64FE421C8C984E6D96ED12C55FEE2435 ( 0 1 2 3 4 5 6 7 8 ) 9 nodes [ 191.318225] o2dlm: Node 7 joins domain 89CEAC63CC4F4D03AC185B44E0EE0F3F ( 0 1 2 3 4 5 6 7 8 ) 9 nodes [ 838.049923] ------------[ cut here ]------------ [ 838.050005] kernel BUG at fs/ocfs2/reservations.c:507! [ 838.050005] invalid opcode: 0000 [#1] SMP [ 838.050005] Modules linked in: ocfs2 rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs fscache lockd grace ocfs2_dlmfs ocfs2_stack_o2cb ocfs2_dlm ocfs2_nodemanager ocfs2_stackglue configfs sunrpc ipt_REJECT nf_reject_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr ipv6 ovmapi ppdev parport_pc parport xen_netfront fb_sys_fops sysimgblt sysfillrect syscopyarea acpi_cpufreq pcspkr i2c_piix4 i2c_core sg ext4 jbd2 mbcache2 sr_mod cdrom xen_blkfront pata_acpi ata_generic ata_piix floppy dm_mirror dm_region_hash dm_log dm_mod [ 838.050005] CPU: 0 PID: 4349 Comm: startWebLogic.s Not tainted 4.1.12-124.19.2.el6uek.x86_64 #2 [ 838.050005] Hardware name: Xen HVM domU, BIOS 4.4.4OVM 09/06/2018 [ 838.050005] task: ffff8803fb04e200 ti: ffff8800ea4d8000 task.ti: ffff8800ea4d8000 [ 838.050005] RIP: 0010:[] [] __ocfs2_resv_find_window+0x498/0x760 [ocfs2] [ 838.050005] RSP: 0018:ffff8800ea4db668 EFLAGS: 00010246 [ 838.050005] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 838.050005] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 838.050005] RBP: ffff8800ea4db708 R08: 0000000000000000 R09: ffff8800ea4db6d0 [ 838.050005] R10: ffff8803f5c74030 R11: 0000000000000000 R12: 0000000000000000 [ 838.050005] R13: 0000000000000000 R14: ffff8800ea4db801 R15: ffff8800eab9c000 [ 838.050005] FS: 00007f1e92306700(0000) GS:ffff8803ff200000(0000) knlGS:0000000000000000 [ 838.050005] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 838.050005] CR2: 00000000018e5fbc CR3: 00000003f63d4000 CR4: 0000000000160670 [ 838.050005] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 838.050005] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 838.050005] Stack: [ 838.050005] ffff8800ea4db6d4 ffff8803f5fd3070 ffff8803f5c74030 ffff8803fba5e7b8 [ 838.050005] ffffffffa064b4f0 ffff8803fb9ef0f8 ffff8800eb638ee8 ffff8803f5fd3070 [ 838.050005] ffff8800ea4db718 ffff8800eab9c230 ffff880000000010 0000000000000000 [ 838.050005] Call Trace: [ 838.050005] [] ocfs2_resmap_resv_bits+0x10d/0x400 [ocfs2] [ 838.050005] [] ? ocfs2_journal_dirty+0x32/0xa0 [ocfs2] [ 838.050005] [] ? olq_update_info+0x50/0x50 [ocfs2] [ 838.050005] [] ocfs2_claim_local_alloc_bits+0xd0/0x640 [ocfs2] [ 838.050005] [] __ocfs2_claim_clusters+0x178/0x360 [ocfs2] [ 838.050005] [] ocfs2_claim_clusters+0x1f/0x30 [ocfs2] [ 838.050005] [] ocfs2_convert_inline_data_to_extents+0x634/0xa60 [ocfs2] [ 838.050005] [] ? ocfs2_buffer_cached.isra.6+0xb4/0x230 [ocfs2] [ 838.050005] [] ? ocfs2_set_buffer_uptodate+0x25/0x600 [ocfs2] [ 838.050005] [] ? __find_get_block+0xc4/0x140 [ 838.050005] [] ? kmem_cache_alloc_trace+0x246/0x280 [ 838.050005] [] ocfs2_write_begin_nolock+0x1c6/0x1da0 [ocfs2] [ 838.050005] [] ? ocfs2_inode_cache_io_unlock+0x20/0x20 [ocfs2] [ 838.050005] [] ? ocfs2_inode_lock_full_nested+0x2eb/0x520 [ocfs2] [ 838.050005] [] ? ocfs2_xattr_get+0xa6/0x150 [ocfs2] [ 838.050005] [] ocfs2_write_begin+0x13e/0x230 [ocfs2] [ 838.050005] [] generic_perform_write+0xbf/0x1c0 [ 838.050005] [] ? dentry_needs_remove_privs.part.11+0x1e/0x30 [ 838.050005] [] __generic_file_write_iter+0x19c/0x1d0 [ 838.050005] [] ? ocfs2_inode_unlock+0xa9/0x130 [ocfs2] [ 838.050005] [] ocfs2_file_write_iter+0x589/0x1360 [ocfs2] [ 838.050005] [] ? do_wp_page+0x265/0x680 [ 838.050005] [] ? fsnotify+0x384/0x530 [ 838.050005] [] __vfs_write+0xb8/0x110 [ 838.050005] [] vfs_write+0xa9/0x1b0 [ 838.050005] [] ? mutex_lock+0x16/0x40 [ 838.050005] [] SyS_write+0x46/0xb0 [ 838.050005] [] ? system_call_after_swapgs+0xe9/0x190 [ 838.050005] [] ? system_call_after_swapgs+0xe2/0x190 [ 838.050005] [] ? system_call_after_swapgs+0xdb/0x190 [ 838.050005] [] system_call_fastpath+0x18/0xd7 [ 838.050005] Code: ff ff 8b 75 b8 39 75 b0 8b 45 c8 89 45 98 0f 84 e5 fe ff ff 45 8b 74 24 18 41 8b 54 24 1c e9 56 fc ff ff 85 c0 0f 85 48 ff ff ff <0f> 0b 48 8b 05 cf c3 de ff 48 ba 00 00 00 00 00 00 00 10 48 85 [ 838.050005] RIP [] __ocfs2_resv_find_window+0x498/0x760 [ocfs2] [ 838.050005] RSP [ 838.202227] ---[ end trace 566f07529f2edf3c ]--- [ 838.204664] Kernel panic - not syncing: Fatal exception [ 838.205656] Kernel Offset: disabled Signed-off-by: Junxiao Bi Cc: Yiwen Jiang Cc: Jun Piao Reviewed-by: Yiwen Jiang Acked-by: Joseph Qi Acked-by: Joseph Qi <jiangqi903@gmail.com> --- fs/ocfs2/localalloc.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 857bbbcd39f3..ea3493734ac6 100644 --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c @@ -345,13 +345,18 @@ int ocfs2_load_local_alloc(struct ocfs2_super *osb) if (num_used || alloc->id1.bitmap1.i_used || alloc->id1.bitmap1.i_total - || la->la_bm_off) - mlog(ML_ERROR, "Local alloc hasn't been recovered!\n" + || la->la_bm_off) { + mlog(ML_ERROR, "inconsistent detected, clean journal with" + "unrecovered local alloc, please run fsck.ocfs2!\n" "found = %u, set = %u, taken = %u, off = %u\n", num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), le32_to_cpu(alloc->id1.bitmap1.i_total), OCFS2_LOCAL_ALLOC(alloc)->la_bm_off); + status = -EINVAL; + goto bail; + } + osb->local_alloc_bh = alloc_bh; osb->local_alloc_state = OCFS2_LA_ENABLED; From patchwork Mon Nov 19 08:07:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxiao Bi X-Patchwork-Id: 10688259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C488515A7 for ; Mon, 19 Nov 2018 08:09:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B340129A55 for ; Mon, 19 Nov 2018 08:09:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A779F29A60; Mon, 19 Nov 2018 08:09:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4581429A55 for ; Mon, 19 Nov 2018 08:09:50 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAJ88W0r109063; Mon, 19 Nov 2018 08:09:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : date : message-id : in-reply-to : references : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : mime-version : content-type : content-transfer-encoding : sender; s=corp-2018-07-02; bh=ufkgZu2ErJRdWpIROse3NzY/NLgjpRU6ywYBOczuAs4=; b=IM73QciPqAGz+pPT2G+R+eoYMiGFHKT0Xs95BwYczB/v8vxxLT0ManYWltRORYbLKPfP xQBOHf+fKGCmcs2j5XwTX/7ZhcejMhoMPD5Nh2ewO66TaGldP0epHudE6PX6Hghy89yT v3hQXhL02Fcm06DYKTfWWchoyjLY1HjH4xH7MjAHz1wfofGnWDIP+9V+ATW/azr840ii w/3avKPyfTFdttDozyBlxQwKWwGCf+XfTLCLOyFO+gHzsQtPKaqInAUHQLFHkWhdY9jk fUOk2izB2PsdjnOuCLLLc8QmXhL4Xgisnd6Rn2vy9lxJsc4ha5wTW6wUMdPtR/If2jkw ag== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2ntaxpvk3r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Nov 2018 08:09:35 +0000 Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ89Z1C017488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Nov 2018 08:09:35 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1gOech-0003LX-Cv; Mon, 19 Nov 2018 00:09:35 -0800 Received: from userv0021.oracle.com ([156.151.31.71]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1gOebr-0003J6-5V for ocfs2-devel@oss.oracle.com; Mon, 19 Nov 2018 00:08:43 -0800 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ88gNr027966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Nov 2018 08:08:42 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wAJ88fkR002339; Mon, 19 Nov 2018 08:08:42 GMT Received: from jubi-laptop.cn.oracle.com (/10.8.169.172) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 19 Nov 2018 00:08:41 -0800 From: Junxiao Bi To: ocfs2-devel@oss.oracle.com Date: Mon, 19 Nov 2018 16:07:25 +0800 Message-Id: <20181119080725.13059-2-junxiao.bi@oracle.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181119080725.13059-1-junxiao.bi@oracle.com> References: <20181119080725.13059-1-junxiao.bi@oracle.com> Subject: [Ocfs2-devel] [PATCH V2 2/2] ocfs2: clear journal dirty flag after shutdown journal X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9081 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811190078 X-Virus-Scanned: ClamAV using ClamSMTP Dirty flag of the journal should be cleared at the last stage of umount, if do it before jbd2_journal_destroy(), then some metadata in uncommitted transaction could be lost due to io error, but as dirty flag of journal was already cleared, we can't find that until run a full fsck. This may cause system panic or other corruption. Signed-off-by: Junxiao Bi Cc: Yiwen Jiang Cc: Jun Piao Reviewed-by: Yiwen Jiang Reviewed-by: Joseph Qi --- fs/ocfs2/journal.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) V1 -> V2: pointed by Yiwen, need check return value of jbd2_journal_destroy diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 13f8e097babf..b51bb873441f 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -986,7 +986,8 @@ void ocfs2_journal_shutdown(struct ocfs2_super *osb) mlog_errno(status); } - if (status == 0) { + /* Shutdown the kernel journal system */ + if (!jbd2_journal_destroy(journal->j_journal) && !status) { /* * Do not toggle if flush was unsuccessful otherwise * will leave dirty metadata in a "clean" journal @@ -995,9 +996,6 @@ void ocfs2_journal_shutdown(struct ocfs2_super *osb) if (status < 0) mlog_errno(status); } - - /* Shutdown the kernel journal system */ - jbd2_journal_destroy(journal->j_journal); journal->j_journal = NULL; OCFS2_I(inode)->ip_open_count--;