Re: [Qemu-devel] [PATCH] block/nfs: fix potential segfault on early callback

2014-06-11 Thread Stefan Hajnoczi
On Tue, Jun 10, 2014 at 09:42:47AM +0200, Peter Lieven wrote: > it will happen in the future that the callback of a libnfs call > directly invokes the callback. In this case we end up in a segfault > because the NFSRPC is gone when we the BH is scheduled. > > Signed-off-by: Peter Lieven > --- >

[Qemu-devel] [PATCH] block/nfs: fix potential segfault on early callback

2014-06-10 Thread Peter Lieven
it will happen in the future that the callback of a libnfs call directly invokes the callback. In this case we end up in a segfault because the NFSRPC is gone when we the BH is scheduled. Signed-off-by: Peter Lieven --- block/nfs.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) dif