summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-04 10:05:07 +0100
committerTakashi Iwai <tiwai@suse.de>2013-11-04 10:05:07 +0100
commitebfe1068f9ca4d0f25beca7a65d652380c40f226 (patch)
tree109cfece95e42345d915c4c13e3bb1697ff02f65 /fs/seq_file.c
parent023838542dc8a4eac9650f98942671078a4ce73d (diff)
parent71d0c3a876e007f68fc2ed433119dd4f4dc408a7 (diff)
downloadlinux-ebfe1068f9ca4d0f25beca7a65d652380c40f226.tar.bz2
Merge tag 'asoc-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Final updates for v3.13 A few final updates for v3.13, all driver updates apart from some DPCM and Coverity fixes which should have minor impact on practical systems.
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 3135c2525c76..a290157265ef 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -328,6 +328,8 @@ loff_t seq_lseek(struct file *file, loff_t offset, int whence)
m->read_pos = offset;
retval = file->f_pos = offset;
}
+ } else {
+ file->f_pos = offset;
}
}
file->f_version = m->version;