[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.
Showing
Please register or sign in to comment