CIFS: Fix variable types in cifs_iovec_read/write (try #2)
authorPavel Shilovsky <piastry@etersoft.ru>
Mon, 31 Jan 2011 13:03:08 +0000 (16:03 +0300)
committerSteve French <sfrench@us.ibm.com>
Fri, 4 Feb 2011 04:41:06 +0000 (04:41 +0000)
commit76429c148b939f5a6863c0a024eb8960ae91469a
tree8c92827731a52e921755f4a24e9c46ad0882f033
parent9587fcff42f5bece3c0a44066b079235ee73cbb3
CIFS: Fix variable types in cifs_iovec_read/write (try #2)

Variable 'i' should be unsigned long as it's used in circle with num_pages,
and bytes_read/total_written should be ssize_t according to return value.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c