]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/fs-writeback.c: : make wb_do_writeback() as static
authorHaicheng Li <haicheng.li@linux.intel.com>
Wed, 19 Jun 2013 00:06:42 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:25 +0000 (17:13 +1000)
It's not used globally and could be static.

Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fs-writeback.c
include/linux/writeback.h

index 3be57189efd5b3a8005321f02e40971af9429cf6..f892decfc9e8ddf48e55a53e5100138b5a065826 100644 (file)
@@ -959,7 +959,7 @@ static long wb_check_old_data_flush(struct bdi_writeback *wb)
 /*
  * Retrieve work items and do the writeback they describe
  */
-long wb_do_writeback(struct bdi_writeback *wb, int force_wait)
+static long wb_do_writeback(struct bdi_writeback *wb, int force_wait)
 {
        struct backing_dev_info *bdi = wb->bdi;
        struct wb_writeback_work *work;
index 579a5007c696fc5b9fd95cd326470b70aa096456..e27468e50a3ab54e8a91b150898a15f6d2e16233 100644 (file)
@@ -94,7 +94,6 @@ int try_to_writeback_inodes_sb_nr(struct super_block *, unsigned long nr,
 void sync_inodes_sb(struct super_block *);
 long writeback_inodes_wb(struct bdi_writeback *wb, long nr_pages,
                                enum wb_reason reason);
-long wb_do_writeback(struct bdi_writeback *wb, int force_wait);
 void wakeup_flusher_threads(long nr_pages, enum wb_reason reason);
 void inode_wait_for_writeback(struct inode *inode);