Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d77c0dc authored by Eric Sandeen's avatar Eric Sandeen Committed by Alex Elder
Browse files

xfs: make several more functions static



Just minor housekeeping, a lot more functions can be trivially made
static; others could if we reordered things a bit...

Signed-off-by: default avatarEric Sandeen <sandeen@sandeen.net>
Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
parent 6bded0f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ xfs_commit_dummy_trans(
	return error;
}

int
STATIC int
xfs_sync_fsdata(
	struct xfs_mount	*mp,
	int			flags)
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ void xfs_syncd_stop(struct xfs_mount *mp);

int xfs_sync_attr(struct xfs_mount *mp, int flags);
int xfs_sync_data(struct xfs_mount *mp, int flags);
int xfs_sync_fsdata(struct xfs_mount *mp, int flags);

int xfs_quiesce_data(struct xfs_mount *mp);
void xfs_quiesce_attr(struct xfs_mount *mp);
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ xfs_attr_get(
/*
 * Calculate how many blocks we need for the new attribute,
 */
int
STATIC int
xfs_attr_calc_size(
	struct xfs_inode 	*ip,
	int			namelen,
+0 −1
Original line number Diff line number Diff line
@@ -139,7 +139,6 @@ typedef struct xfs_attr_list_context {
/*
 * Overall external interface routines.
 */
int xfs_attr_calc_size(struct xfs_inode *, int, int, int *);
int xfs_attr_inactive(struct xfs_inode *dp);
int xfs_attr_rmtval_get(struct xfs_da_args *args);
int xfs_attr_list_int(struct xfs_attr_list_context *);
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ xfs_bmbt_disk_set_allf(
/*
 * Set all the fields in a bmap extent record from the uncompressed form.
 */
void
STATIC void
xfs_bmbt_disk_set_all(
	xfs_bmbt_rec_t	*r,
	xfs_bmbt_irec_t *s)
Loading