[Devel] [PATCH rh7] ub: zap ub_dirty_pages
Vladimir Davydov
vdavydov at parallels.com
Mon Aug 31 02:29:03 PDT 2015
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 5b51853e5b5f..fa7afb1cb605 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)
{
--
2.1.4
More information about the Devel
mailing list