From 8ec680e4c3ec818efd1652f15199ed1c216ab550 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 7 Nov 2007 13:54:07 +0100 Subject: [PATCH] ioprio: allow sys_ioprio_set() value of 0 to reset ioprio setting Normally io priorities follow the CPU nice, unless a specific scheduling class has been set. Once that is set, there's no way to reset the behaviour to 'none' so that it follows CPU nice again. Currently passing in 0 as the ioprio class/value will return -1/EINVAL, change that to allow resetting of a set scheduling class. Signed-off-by: Jens Axboe --- Reading git-format-patch failed