Commit b8145a76 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jan Kara

make udf_error() static

This patch makes the needlessly global udf_error() static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 8dee00bb
......@@ -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)
{
......@@ -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;
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment