diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-02-24 05:07:44 (GMT) |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2010-03-04 08:10:39 (GMT) |
commit | 335a64a5c21ed58de21c0130c90c7e647cdcf572 (patch) | |
tree | 50019062a9f17134ac38a4a9b999f6112e6c818e /fs/cifs/ioctl.c | |
parent | 604b2ad7ccb11569d3b843bb1ce0fbe034e70769 (diff) | |
download | linux-fsl-qoriq-335a64a5c21ed58de21c0130c90c7e647cdcf572.tar.xz |
virtio: console: Use better variable names for fill_queue operation
We want to keep track of the number of buffers added to a vq. Use
nr_added_bufs instead of 'ret'.
Also, the users of fill_queue() overloaded a local 'err' variable to
check the numbers of buffers allocated. Use nr_added_bufs instead of
err.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'fs/cifs/ioctl.c')
0 files changed, 0 insertions, 0 deletions