Re: [PATCH 01/14] sysctl: provide callback for write into ctl_table entry

From: Sasha Levin
Date: Sun Apr 29 2012 - 08:26:43 EST


On Sun, Apr 29, 2012 at 8:45 AM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> +
> +       if (!error && write && table->callback)
> +               error = table->callback();
> +

Tetsuo Handa has pointed out that 'error' is actually the amount of
bytes read/written in the success case. I'll fix that for V2.
--
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/