diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-10-09 18:49:31 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-11-06 01:51:26 +0100 |
commit | 0b2355fe91ac3756a9e29c8b833ba33f9affb520 (patch) | |
tree | cc2adbe599121597f0565e3ecd69aa339b2930ae /fs/gfs2/super.c | |
parent | gfs2: Rename gfs2_lookup_{ simple => meta } (diff) | |
download | linux-0b2355fe91ac3756a9e29c8b833ba33f9affb520.tar.xz linux-0b2355fe91ac3756a9e29c8b833ba33f9affb520.zip |
gfs2: No longer use 'extern' in function declarations
For non-static function declarations, external linkage is implied and
the 'extern' keyword isn't needed. Some static checkers complain about
the overuse of 'extern', so clean up all the function declarations.
In addition, remove 'extern' from the definition of
free_local_statfs_inodes(); it isn't needed there, either.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index dd2720a5ca62..4dad30dd72fc 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -1566,7 +1566,7 @@ static void gfs2_free_inode(struct inode *inode) kmem_cache_free(gfs2_inode_cachep, GFS2_I(inode)); } -extern void free_local_statfs_inodes(struct gfs2_sbd *sdp) +void free_local_statfs_inodes(struct gfs2_sbd *sdp) { struct local_statfs_inode *lsi, *safe; @@ -1581,8 +1581,8 @@ extern void free_local_statfs_inodes(struct gfs2_sbd *sdp) } } -extern struct inode *find_local_statfs_inode(struct gfs2_sbd *sdp, - unsigned int index) +struct inode *find_local_statfs_inode(struct gfs2_sbd *sdp, + unsigned int index) { struct local_statfs_inode *lsi; |