]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gfs2: Get rid of gfs2_ilookup
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 14 Jun 2016 17:23:59 +0000 (12:23 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 27 Jun 2016 14:47:08 +0000 (09:47 -0500)
commitec5ec66ba48bd3163110599359797858ac38e79b
tree1e458e0013387f255edee8cdd96e005d83f4ed9e
parent3ce37b2cb4917674fa5b776e857dcea94c0e0835
gfs2: Get rid of gfs2_ilookup

Now that gfs2_lookup_by_inum only takes the inode glock for new inodes
(and not for cached inodes anymore), there no longer is a need to
optimize the cached-inode case in gfs2_get_dentry or delete_work_func,
and gfs2_ilookup can be removed.

In addition, gfs2_get_dentry wasn't checking the GFS2_DIF_SYSTEM flag in
i_diskflags in the gfs2_ilookup case (see gfs2_lookup_by_inum); this
inconsistency goes away as well.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/export.c
fs/gfs2/glock.c
fs/gfs2/inode.c
fs/gfs2/inode.h