Skip to contentSkip to conversation

+ fs-fs-writebackc-make-wb_do_writeback-as-static.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 3, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: + fs-fs-writebackc-make-wb_do_writeback-as-static.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 03 Jun 2013 16:45:05 -0700

The patch titled
Subject: fs/fs-writeback.c: : make wb_do_writeback() as static
has been added to the -mm tree. Its filename is
fs-fs-writebackc-make-wb_do_writeback-as-static.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Haicheng Li <[email protected]>
Subject: fs/fs-writeback.c: : make wb_do_writeback() as static

It's not used globally and could be static.

---

 fs/fs-writeback.c         |    2 +-
 include/linux/writeback.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
fs/fs-writeback.c renamed from fs/fs-writeback.c~fs-fs-writebackc-make-wb_do_writeback-as-static +1 -1
diff -puN fs/fs-writeback.c~fs-fs-writebackc-make-wb_do_writeback-as-static fs/fs-writeback.c
@@ -959,7 +959,7 @@ static long wb_check_old_data_flush(stru
 /*
  * 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;
include/linux/writeback.h renamed from include/linux/writeback.h~fs-fs-writebackc-make-wb_do_writeback-as-static +0 -1
diff -puN include/linux/writeback.h~fs-fs-writebackc-make-wb_do_writeback-as-static include/linux/writeback.h
@@ -94,7 +94,6 @@ int try_to_writeback_inodes_sb_nr(struct
 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);
 

_

Patches currently in -mm which might be from [email protected] are

linux-next.patch fs-fs-writebackc-make-wb_do_writeback-as-static.patch