aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2010-08-25 19:19:53 +0000
committerJeremy Fitzhardinge <[email protected]>2010-08-25 19:19:53 +0000
commitfb27cfbcbd2865b0e731c4aae47df71778da805e (patch)
treebc321b782bb4234a7d6a5cb019c31c3843ab2506 /drivers/net/xen-netback/interface.c
parentimplement O_NONBLOCK for /proc/xen/xenbus (diff)
downloadkernel-fb27cfbcbd2865b0e731c4aae47df71778da805e.tar.gz
kernel-fb27cfbcbd2865b0e731c4aae47df71778da805e.zip
xenfs/xenbus: report partial reads/writes correctly
copy_(to|from)_user return the number of uncopied bytes, so a successful return is 0, and any non-zero result indicates some degree of failure. Reported-by: "Jun Zhu (Intern)" <[email protected]> Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions