[dm-devel] [PATCH 14/14] barriers

Nikanth K nikanth at gmail.com
Tue Feb 24 10:11:41 UTC 2009


On Tue, Feb 24, 2009 at 12:53 AM, Mikulas Patocka <mpatocka at redhat.com> wrote:

<snip>

>
> +static int dm_flush(struct mapped_device *md)
> +{
> +       dm_wait_for_completion(md, TASK_UNINTERRUPTIBLE);
> +       return 0;
> +}
> +

Always returns zero! Why not void?

<snip>

Thanks
Nikanth




More information about the dm-devel mailing list