Messages in this thread Patch in this message | | | From | Dongsheng Yang <> | Subject | [PATCH 15/17] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE. | Date | Tue, 11 Mar 2014 18:09:23 +0800 |
| |
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> cc: devel@driverdev.osuosl.org cc: Xiong Zhou <jencce.kernel@gmail.com> cc: Andreas Dilger <andreas.dilger@intel.com> cc: Cyril Roelandt <tipecaml@gmail.com> cc: Kent Overstreet <kmo@daterainc.com> cc: Peng Tao <bergwolf@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
| |