[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 01/11] notify: add NotiferWithReturn so notif
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v5 01/11] notify: add NotiferWithReturn so notifier list can abort |
Date: |
Wed, 19 Jun 2013 12:55:39 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 30.05.2013 um 14:34 hat Stefan Hajnoczi geschrieben:
> notifier_list_notify() has no return value. This is fine when we just
> want to invoke side-effects.
>
> Sometimes it's useful for notifiers to produce a return value. This
> allows notifiers to "veto" an operation and will be used by the block
> layer before-write notifier.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Kevin Wolf <address@hidden>