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

Commit de74b05a authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Boaz Harrosh
Browse files

exofs/super.c: local functions should be static



This quiets the following sparse noise:

warning: symbol 'exofs_sync_fs' was not declared. Should it be static?
warning: symbol 'exofs_free_sbi' was not declared. Should it be static?
warning: symbol 'exofs_get_parent' was not declared. Should it be static?

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent 1958c7c2
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -355,7 +355,7 @@ static const struct export_operations exofs_export_ops;
/*
/*
 * Write the superblock to the OSD
 * Write the superblock to the OSD
 */
 */
int exofs_sync_fs(struct super_block *sb, int wait)
static int exofs_sync_fs(struct super_block *sb, int wait)
{
{
	struct exofs_sb_info *sbi;
	struct exofs_sb_info *sbi;
	struct exofs_fscb *fscb;
	struct exofs_fscb *fscb;
@@ -429,7 +429,7 @@ static void _exofs_print_device(const char *msg, const char *dev_path,
		msg, dev_path ?: "", odi->osdname, _LLU(pid));
		msg, dev_path ?: "", odi->osdname, _LLU(pid));
}
}


void exofs_free_sbi(struct exofs_sb_info *sbi)
static void exofs_free_sbi(struct exofs_sb_info *sbi)
{
{
	while (sbi->comps.numdevs) {
	while (sbi->comps.numdevs) {
		int i = --sbi->comps.numdevs;
		int i = --sbi->comps.numdevs;
@@ -981,7 +981,7 @@ static const struct super_operations exofs_sops = {
 * EXPORT OPERATIONS
 * EXPORT OPERATIONS
 *****************************************************************************/
 *****************************************************************************/


struct dentry *exofs_get_parent(struct dentry *child)
static struct dentry *exofs_get_parent(struct dentry *child)
{
{
	unsigned long ino = exofs_parent_ino(child);
	unsigned long ino = exofs_parent_ino(child);