summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-05-19 14:45:56 -0400
committerAndreas Gruenbacher <agruenba@redhat.com>2021-05-20 13:31:37 +0200
commit4194dec4b4169e5a9a5171db60c2ec00c4d8cf16 (patch)
treedd13f6b6ccca7f77928bd65b3c66ada3109d805f /fs/gfs2/glock.c
parent43a511c44e58e357a687d61a20cf5ef1dc9e5a7c (diff)
downloadlinux-4194dec4b4169e5a9a5171db60c2ec00c4d8cf16.tar.bz2
gfs2: Fix I_NEW check in gfs2_dinode_in
Patch 4a378d8a0d96 added a new check for I_NEW inodes, but unfortunately it used the wrong variable, i_flags. This caused GFS2 to withdraw when gfs2_lookup_by_inum needed to refresh an I_NEW inode. This patch switches to use the correct variable, i_state. Fixes: 4a378d8a0d96 ("gfs2: be careful with inode refresh") Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions