commit | b8e12e3599ad61b25478159b290d94d66326b3c3 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Mon Nov 29 03:35:00 2021 +0100 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Thu Dec 02 12:41:09 2021 +0100 |
tree | afaa94c17e454e06e95c01e0f758fdb8cbd7e80f | |
parent | e11b02df60bdf2ac6bb8eaed525db4f02415a902 [diff] |
gfs2: gfs2_inode_lookup cleanup In gfs2_inode_lookup, once the inode has been looked up, we check if the inode generation (no_formal_ino) is the one we're looking for. If it isn't and the inode wasn't in the inode cache, we discard the newly looked up inode. This is unnecessary, complicates the code, and makes future changes to gfs2_inode_lookup harder, so change the code to retain newly looked up inodes instead. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>