[Devel] [PATCH RHEL7 COMMIT] ub: zap ub_dirty_pages

Konstantin Khorenko khorenko at virtuozzo.com
Thu Sep 3 04:26:24 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.6.6
------>
commit d6328c465a4b45ab97e55f17b4896da32986c1bd
Author: Vladimir Davydov <vdavydov at parallels.com>
Date:   Thu Sep 3 15:26:24 2015 +0400

    ub: zap ub_dirty_pages
    
    It is not used anywhere.
    
    Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
 include/bc/io_acct.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/bc/io_acct.h b/include/bc/io_acct.h
index 5b51853..fa7afb1 100644
--- a/include/bc/io_acct.h
+++ b/include/bc/io_acct.h
@@ -56,8 +56,6 @@ extern void ub_io_account_cancel(struct address_space *mapping);
 extern void ub_io_writeback_inc(struct address_space *mapping);
 extern void ub_io_writeback_dec(struct address_space *mapping);
 
-#define ub_dirty_pages(ub)	ub_stat_get(ub, dirty_pages)
-
 extern int ub_dirty_limits(unsigned long *pbackground,
 			   long *pdirty, struct user_beancounter *ub);
 
@@ -101,11 +99,6 @@ static inline void ub_io_writeback_dec(struct address_space *mapping)
 {
 }
 
-static inline unsigned long ub_dirty_pages(struct user_beancounter *ub)
-{
-	return 0;
-}
-
 static inline int ub_dirty_limits(unsigned long *pbackground,
 				  long *pdirty, struct user_beancounter *ub)
 {



More information about the Devel mailing list