xen/xenbus: fix overflow check in xenbus_file_write()
authorJan Beulich <JBeulich@suse.com>
Wed, 17 Oct 2012 17:14:09 +0000 (13:14 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 30 Oct 2012 13:57:49 +0000 (09:57 -0400)
commit1bcaba51eba549748917f7d6eb41900ff9ee3d5f
tree60eecbbc556d220d66cd045d5f2fa0f05e0bca96
parent2ebb939ab9c6a2484866c5eae4184c83c2b21af8
xen/xenbus: fix overflow check in xenbus_file_write()

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
[v1: Rebased on upstream]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c