]> git.hungrycats.org Git - linux/commit
[PATCH] /proc/ide/triflex returns incomplete data
authorFaik Uygur <faikuygur@ttnet.net.tr>
Mon, 24 Feb 2003 02:49:22 +0000 (18:49 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 24 Feb 2003 02:49:22 +0000 (18:49 -0800)
commitb096c3f53d303daec0d88dade64377e373d8d104
treeff87554e14d0e8967177a2f013cb43f2c631181d
parente7070c0f0ec1df10d687eb1f3e480e6c37de27d9
[PATCH] /proc/ide/triflex returns incomplete data

This patch fixes the incomplete data return problem of /proc/ide/triflex.
When the number of consecutive read bytes are smaller than the total
data in triflex_get_info(), the second read() returns 0.
drivers/ide/pci/triflex.c