[Devel] [PATCH vz7 5/5] ubstat: enable UB statd

Stanislav Kinsburskiy skinsbursky at odin.com
Thu Oct 1 02:48:01 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 b421ac1..9b8abda 100644
--- a/kernel/bc/statd.c
+++ b/kernel/bc/statd.c
@@ -338,9 +338,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)
@@ -486,9 +483,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