]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gfs2: Make gfs2_inode_refresh static
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 16 Sep 2024 12:02:41 +0000 (14:02 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Nov 2024 11:39:29 +0000 (12:39 +0100)
Function gfs2_inode_refresh() is only used in fs/gfs2/glops.c.

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

index dbc444bfc630d70375ffaf60dee353aca550f083..eb4714f299efb61f5573efe541840471dfd1ffa3 100644 (file)
@@ -470,7 +470,7 @@ static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf)
  * Returns: errno
  */
 
-int gfs2_inode_refresh(struct gfs2_inode *ip)
+static int gfs2_inode_refresh(struct gfs2_inode *ip)
 {
        struct buffer_head *dibh;
        int error;
index fd15d1c6b6fb1eac71d185855f0d3713155409d5..9e5e1622d50a606777ae7ca4890f182f26cec9ff 100644 (file)
@@ -93,8 +93,6 @@ struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr,
                                  u64 no_formal_ino,
                                  unsigned int blktype);
 
-int gfs2_inode_refresh(struct gfs2_inode *ip);
-
 struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
                           int is_root);
 int gfs2_permission(struct mnt_idmap *idmap,