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

From: Dongsheng Yang
Date: Tue Mar 11 2014 - 06:11:48 EST


Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx>
cc: devel@xxxxxxxxxxxxxxxxxxxx
cc: Xiong Zhou <jencce.kernel@xxxxxxxxx>
cc: Andreas Dilger <andreas.dilger@xxxxxxxxx>
cc: Cyril Roelandt <tipecaml@xxxxxxxxx>
cc: Kent Overstreet <kmo@xxxxxxxxxxxxx>
cc: Peng Tao <bergwolf@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/