aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2020-01-24 14:14:46 +0100
committerBob Peterson <rpeterso@redhat.com>2020-03-27 14:08:04 -0500
commit40e7e86ef16550c7371939c7025041b7740f252e (patch)
tree5310932b9ee7244945e6d35e0634aaa47fbd5cdc /fs/gfs2/log.c
parentgfs2: Additional information when gfs2_ail1_flush withdraws (diff)
downloadlinux-dev-40e7e86ef16550c7371939c7025041b7740f252e.tar.xz
linux-dev-40e7e86ef16550c7371939c7025041b7740f252e.zip
gfs2: Clean up inode initialization and teardown
When allocating a new inode, mark the iopen glock holder as uninitialized to make sure gfs2_evict_inode won't fail after an incomplete create or lookup. In gfs2_evict_inode, allow the inode glock to be NULL and remove the duplicate iopen glock teardown code. In gfs2_inode_lookup, don't tear down things that gfs2_evict_inode will already tear down. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions