[Devel] [PATCH vz7 v2 7/7] ubstat: enable UB statd

Stanislav Kinsburskiy skinsbursky at odin.com
Thu Oct 1 06:38:48 PDT 2015


From: Stanislav Kinsburskiy <skinsbursky at parallels.com>

This commit reverts c59367f9e478eb92145d7fea5a88c10407790077

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at parallels.com>
---
 kernel/bc/statd.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/kernel/bc/statd.c b/kernel/bc/statd.c
index ad80e7e..84c7765 100644
--- a/kernel/bc/statd.c
+++ b/kernel/bc/statd.c
@@ -373,9 +373,6 @@ long do_ubstat(int func, unsigned long arg1, unsigned long arg2,
 	int retval;
 	struct user_beancounter *ub;
 
-	/* FIXME? */
-	return -ENOSYS;
-
 	if (func == UBSTAT_UBPARMNUM)
 		return UB_RESOURCES;
 	if (func == UBSTAT_UBLIST)
@@ -521,9 +518,6 @@ static int ubstatd(void *unused)
 
 static int __init ubstatd_init(void)
 {
-	/* FIXME? */
-	return 0;
-
 	init_timer(&ubs_timer);
 	ubs_timer.expires = TIME_MAX_JIF;
 	ubs_min_interval = TIME_MAX_SEC;




More information about the Devel mailing list