]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21606c2a1283719939e79cf3327a9e025246c9e6
tree7ced6b31b24c6311b220109175d15ced03359dfa
parent3e40652a595101c7002b25fde6ea761a47ca1ff8
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