]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Initialize gl_no_formal_ino earlier
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 16 Sep 2024 13:42:57 +0000 (15:42 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 24 Sep 2024 17:03:33 +0000 (19:03 +0200)
commit1072b3aa6863bc4d91006038b032bfb4dcc98dec
treeb4faa86bf4aa83643ec4fad6c5d9c00e6afe41f2
parent820ce8ed53ce2111aa5171f7349f289d7e9d0693
gfs2: Initialize gl_no_formal_ino earlier

Set gl_no_formal_ino of the iopen glock to the generation of the
associated inode (ip->i_no_formal_ino) as soon as that value is known.
This saves us from setting it later, possibly repeatedly, when queuing
GLF_VERIFY_DELETE work.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glops.c
fs/gfs2/inode.c