]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] tape: remove f_pos changes from read / write function.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Dec 2009 11:52:01 +0000 (12:52 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 7 Dec 2009 11:51:36 +0000 (12:51 +0100)
commitdf5b9f389124a537f2cbdb776f98fee3fb6ef973
tree26f6abdcde8d008fc8606fbde3ffd575494b91c1
parentbc5414d7a4a9385b55ddeb00f5db34c499caa16f
[S390] tape: remove f_pos changes from read / write function.

The change to f_pos in the read / write method has no effect as the
value is controlled by the VFS layer, e.g. for vfs_read:

loff_t pos = file_pos_read(file);
ret = vfs_read(file, buf, count, &pos);
file_pos_write(file, pos);

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape_char.c