diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-06-14 12:23:59 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-06-27 09:47:08 -0500 |
commit | ec5ec66ba48bd3163110599359797858ac38e79b (patch) | |
tree | 1e458e0013387f255edee8cdd96e005d83f4ed9e /fs/gfs2/inode.h | |
parent | 3ce37b2cb4917674fa5b776e857dcea94c0e0835 (diff) | |
download | linux-ec5ec66ba48bd3163110599359797858ac38e79b.tar.bz2 |
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>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r-- | fs/gfs2/inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h index 443b46cfb8f2..7710dfd3af35 100644 --- a/fs/gfs2/inode.h +++ b/fs/gfs2/inode.h @@ -99,7 +99,6 @@ extern struct inode *gfs2_inode_lookup(struct super_block *sb, unsigned type, extern struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, u64 *no_formal_ino, unsigned int blktype); -extern struct inode *gfs2_ilookup(struct super_block *sb, u64 no_addr); extern int gfs2_inode_refresh(struct gfs2_inode *ip); |