summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/main.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-08-06 14:44:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-08-06 14:44:49 -0700
commitc42b729ef6bfc72fed56f81f589a39298b9d12c8 (patch)
treeeeb2c321b334cfe7b5ba1db642ef9a2a6a3f22ac /fs/gfs2/main.c
parentaf3e9579ecfbe1796334bb25a2f0a6437983673a (diff)
parent446279168e030fd0ed68e2bba336bef8bb3da352 (diff)
downloadlinux-stable-c42b729ef6bfc72fed56f81f589a39298b9d12c8.tar.gz
linux-stable-c42b729ef6bfc72fed56f81f589a39298b9d12c8.tar.bz2
linux-stable-c42b729ef6bfc72fed56f81f589a39298b9d12c8.zip
Merge tag 'gfs2-v5.19-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
Pull gfs2 updates from Andreas Gruenbacher: - Instantiate glocks ouside of the glock state engine, in the contect of the process taking the glock. This moves unnecessary complexity out of the core glock code. Clean up the instantiate logic to be more sensible. - In gfs2_glock_async_wait(), cancel pending locking request upon failure. Make sure all glocks are left in a consistent state. - Various other minor cleanups and fixes. * tag 'gfs2-v5.19-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: gfs2: List traversal in do_promote is safe gfs2: do_promote glock holder stealing fix gfs2: Use better variable name gfs2: Make go_instantiate take a glock gfs2: Add new go_held glock operation gfs2: Revert 'Fix "truncate in progress" hang' gfs2: Instantiate glocks ouside of glock state engine gfs2: Fix up gfs2_glock_async_wait gfs2: Minor gfs2_glock_nq_m cleanup gfs2: Fix spelling mistake in comment gfs2: Rewrap overlong comment in do_promote gfs2: Remove redundant NULL check before kfree
Diffstat (limited to 'fs/gfs2/main.c')
-rw-r--r--fs/gfs2/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c
index b66a3e1ec152..14ae9de76277 100644
--- a/fs/gfs2/main.c
+++ b/fs/gfs2/main.c
@@ -38,7 +38,6 @@ static void gfs2_init_inode_once(void *foo)
inode_init_once(&ip->i_inode);
atomic_set(&ip->i_sizehint, 0);
init_rwsem(&ip->i_rw_mutex);
- INIT_LIST_HEAD(&ip->i_trunc_list);
INIT_LIST_HEAD(&ip->i_ordered);
ip->i_qadata = NULL;
gfs2_holder_mark_uninitialized(&ip->i_rgd_gh);