commit | be94bbb5db4de0f3a2a5405511ea3ebea261f2c8 | [log] [tgz] |
---|---|---|
author | Jan Blunck <jblunck@suse.de> | Tue Apr 27 18:48:52 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 27 18:48:52 2010 -0700 |
tree | d00c309d4b9e80acf9e16ea398f2b7d410226325 | |
parent | 667f0cee3e0321151aa7a1a5222afe67ca4be0ea [diff] |
drivers/sbus/char/flash.c: flash_read should update ppos instead of file->f_pos flash_read() updates file->f_pos directly instead of the ppos given. The VFS later updates the file->f_pos and overwrites it with the unchanged value of ppos. Signed-off-by: Jan Blunck <jblunck@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>