osst: update ppos instead of using file->f_pos
authorJan Blunck <jblunck@suse.de>
Wed, 26 May 2010 21:44:44 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:56 +0000 (09:12 -0700)
commite1c54b64027b52ba43b86fe6219910a9e9a88b73
tree7ced6b31b24c6311b220109175d15ced03359dfa
parentf6ae31c23be6926359e9379acfdbbdd945209f05
osst: update ppos instead of using file->f_pos

osst_read()/osst_write() modify file->f_pos directly instead of the ppos
given to them.  The VFS later updates the file->f_pos and overwrites it
with the value of ppos.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Willem Riede <osst@riede.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/osst.c