]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Move inode generation number check into gfs2_inode_lookup
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 15 Jan 2020 05:21:42 +0000 (06:21 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 5 Jun 2020 18:19:21 +0000 (20:19 +0200)
commitbcc672e328224e78f12100a947f566f19d27588d
tree937a6bb7e330863df726e64570a98ccc6a13af71
parent3a49594c69d573cab07879437c66fbbc892631f1
gfs2: Move inode generation number check into gfs2_inode_lookup

Move the inode generation number check from gfs2_lookup_by_inum into
gfs2_inode_lookup: gfs2_inode_lookup may be able to decide that an inode with
the given inode generation number cannot exist without having to verify the
block type or reading the inode from disk.

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