util.c (c37fe6aff89cb0d842993fe2f69e48bf3ebe0ab0) util.c (f5456b5d67cf812fd31fe3e130ca216b2e0908e5)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
5 */
6
7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
8

--- 117 unchanged lines hidden (view full) ---

126 u64 no_formal_ino;
127 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
128 int ret = 0;
129 int tries;
130
131 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || !sdp->sd_jdesc)
132 return;
133
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
5 */
6
7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
8

--- 117 unchanged lines hidden (view full) ---

126 u64 no_formal_ino;
127 int log_write_allowed = test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
128 int ret = 0;
129 int tries;
130
131 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags) || !sdp->sd_jdesc)
132 return;
133
134 gfs2_ail_drain(sdp); /* frees all transactions */
134 inode = sdp->sd_jdesc->jd_inode;
135 ip = GFS2_I(inode);
136 i_gl = ip->i_gl;
137 no_formal_ino = ip->i_no_formal_ino;
138
139 /* Prevent any glock dq until withdraw recovery is complete */
140 set_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags);
141 /*

--- 417 unchanged lines hidden ---
135 inode = sdp->sd_jdesc->jd_inode;
136 ip = GFS2_I(inode);
137 i_gl = ip->i_gl;
138 no_formal_ino = ip->i_no_formal_ino;
139
140 /* Prevent any glock dq until withdraw recovery is complete */
141 set_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags);
142 /*

--- 417 unchanged lines hidden ---