[PATCH 14/16] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE.

Dongsheng Yang yangds.fnst at cn.fujitsu.com
Tue Mar 11 09:20:35 UTC 2014


Signed-off-by: Dongsheng Yang <yangds.fnst at cn.fujitsu.com>
cc: devel at driverdev.osuosl.org
cc: Xiong Zhou <jencce.kernel at gmail.com>
cc: Andreas Dilger <andreas.dilger at intel.com>
cc: Cyril Roelandt <tipecaml at gmail.com>
cc: Kent Overstreet <kmo at daterainc.com>
cc: Peng Tao <bergwolf at gmail.com>
---
 drivers/staging/lustre/lustre/llite/lloop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c
index 0718905..e40fc84 100644
--- a/drivers/staging/lustre/lustre/llite/lloop.c
+++ b/drivers/staging/lustre/lustre/llite/lloop.c
@@ -407,7 +407,7 @@ static int loop_thread(void *data)
 	int refcheck;
 	int ret = 0;
 
-	set_user_nice(current, -20);
+	set_user_nice(current, MIN_NICE);
 
 	lo->lo_state = LLOOP_BOUND;
 
-- 
1.8.2.1



More information about the devel mailing list