Skip to content

Commit

Permalink
make udf_error() static
Browse files Browse the repository at this point in the history
This patch makes the needlessly global udf_error() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Adrian Bunk authored and Jan Kara committed Apr 17, 2008
1 parent 8dee00b commit b8145a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ static void udf_close_lvid(struct super_block *);
static unsigned int udf_count_free(struct super_block *);
static int udf_statfs(struct dentry *, struct kstatfs *);
static int udf_show_options(struct seq_file *, struct vfsmount *);
static void udf_error(struct super_block *sb, const char *function,
const char *fmt, ...);

struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct udf_sb_info *sbi)
{
Expand Down Expand Up @@ -1867,8 +1869,8 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent)
return -EINVAL;
}

void udf_error(struct super_block *sb, const char *function,
const char *fmt, ...)
static void udf_error(struct super_block *sb, const char *function,
const char *fmt, ...)
{
va_list args;

Expand Down
1 change: 0 additions & 1 deletion fs/udf/udfdecl.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ struct extent_position {
};

/* super.c */
extern void udf_error(struct super_block *, const char *, const char *, ...);
extern void udf_warning(struct super_block *, const char *, const char *, ...);

/* namei.c */
Expand Down

0 comments on commit b8145a7

Please sign in to comment.