hfsplus: make hfsplus_sync_fs static
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 14:26:28 +0000 (17:26 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:01 +0000 (23:58 +0400)
... because it is used only in fs/hfsplus/super.c.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/super.c

index 4e75ac646fea3ac10643a657ae5276c7ee9d19c8..66a9365041be544e4e8f218ac31deb439bc061a0 100644 (file)
@@ -428,7 +428,6 @@ int hfsplus_show_options(struct seq_file *, struct dentry *);
 
 /* super.c */
 struct inode *hfsplus_iget(struct super_block *, unsigned long);
-int hfsplus_sync_fs(struct super_block *sb, int wait);
 
 /* tables.c */
 extern u16 hfsplus_case_fold_table[];
index a9bca4b8768be786346ec1c832ed73e2c3699df3..5df771e4ddda56e76a445c2835c05f912f1b98f9 100644 (file)
@@ -161,7 +161,7 @@ static void hfsplus_evict_inode(struct inode *inode)
        }
 }
 
-int hfsplus_sync_fs(struct super_block *sb, int wait)
+static int hfsplus_sync_fs(struct super_block *sb, int wait)
 {
        struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb);
        struct hfsplus_vh *vhdr = sbi->s_vhdr;