aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-17 03:19:55 -0500
committerJan Kara <jack@suse.cz>2008-04-17 08:22:23 -0400
commitb8145a769765ce9688eb84080d4c48b22a3553f2 (patch)
tree46f49dd2baed227456b84847eaad88999cb27a60
parent8dee00bb758f9e1d7fac9f5d2463d09444d4f255 (diff)
make udf_error() static
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>
-rw-r--r--fs/udf/super.c6
-rw-r--r--fs/udf/udfdecl.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 5f0d400385e0..2666e5bc69ff 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -99,6 +99,8 @@ static void udf_close_lvid(struct super_block *);
99static unsigned int udf_count_free(struct super_block *); 99static unsigned int udf_count_free(struct super_block *);
100static int udf_statfs(struct dentry *, struct kstatfs *); 100static int udf_statfs(struct dentry *, struct kstatfs *);
101static int udf_show_options(struct seq_file *, struct vfsmount *); 101static int udf_show_options(struct seq_file *, struct vfsmount *);
102static void udf_error(struct super_block *sb, const char *function,
103 const char *fmt, ...);
102 104
103struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct udf_sb_info *sbi) 105struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct udf_sb_info *sbi)
104{ 106{
@@ -1867,8 +1869,8 @@ error_out:
1867 return -EINVAL; 1869 return -EINVAL;
1868} 1870}
1869 1871
1870void udf_error(struct super_block *sb, const char *function, 1872static void udf_error(struct super_block *sb, const char *function,
1871 const char *fmt, ...) 1873 const char *fmt, ...)
1872{ 1874{
1873 va_list args; 1875 va_list args;
1874 1876
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index c9c75856af80..d3aae5633722 100644
--- a/fs/udf/udfdecl.h
+++ b/fs/udf/udfdecl.h
@@ -102,7 +102,6 @@ struct extent_position {
102}; 102};
103 103
104/* super.c */ 104/* super.c */
105extern void udf_error(struct super_block *, const char *, const char *, ...);
106extern void udf_warning(struct super_block *, const char *, const char *, ...); 105extern void udf_warning(struct super_block *, const char *, const char *, ...);
107 106
108/* namei.c */ 107/* namei.c */