Commit 70cddf16 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Make gfs2_inode_refresh static



Function gfs2_inode_refresh() is only used in fs/gfs2/glops.c.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 0c5bee60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+0 −2
Original line number Diff line number Diff line
@@ -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,