Skip to content

Commit 70cddf1

Browse files
author
Andreas Gruenbacher
committed
gfs2: Make gfs2_inode_refresh static
Function gfs2_inode_refresh() is only used in fs/gfs2/glops.c. Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent 0c5bee6 commit 70cddf1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

fs/gfs2/glops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf)
470470
* Returns: errno
471471
*/
472472

473-
int gfs2_inode_refresh(struct gfs2_inode *ip)
473+
static int gfs2_inode_refresh(struct gfs2_inode *ip)
474474
{
475475
struct buffer_head *dibh;
476476
int error;

fs/gfs2/inode.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr,
9393
u64 no_formal_ino,
9494
unsigned int blktype);
9595

96-
int gfs2_inode_refresh(struct gfs2_inode *ip);
97-
9896
struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
9997
int is_root);
10098
int gfs2_permission(struct mnt_idmap *idmap,

0 commit comments

Comments
 (0)