xen: unitialised return value in xenbus_write_transaction
authorIan Campbell <ian.campbell@citrix.com>
Sat, 24 Jan 2009 08:22:47 +0000 (08:22 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Jan 2009 13:29:26 +0000 (14:29 +0100)
commite88a0faae5baaaa3bdc6f23a55ad6bc7a7b4aa77
tree375202c0650c76db3132ad3ea269dfa45893f6fb
parent659d2618b38f8a4d91bdb19cfc5c7fb330a4c55a
xen: unitialised return value in xenbus_write_transaction

The return value of xenbus_write_transaction can be uninitialised in
the success case leading to the userspace xenstore utilities failing.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/xenfs/xenbus.c