diff options
author | 2013-11-06 06:39:45 +0100 | |
---|---|---|
committer | 2013-11-06 06:39:45 +0100 | |
commit | 97c53b402fcadb50201c23914f614bf8430d9c20 (patch) | |
tree | 3c9b94e866d150c3a2d8ac853e388c38fade8b45 /fs/seq_file.c | |
parent | hung_task debugging: Add tracepoint to report the hang (diff) | |
parent | Linux 3.12 (diff) | |
download | wireguard-linux-97c53b402fcadb50201c23914f614bf8430d9c20.tar.xz wireguard-linux-97c53b402fcadb50201c23914f614bf8430d9c20.zip |
Merge tag 'v3.12' into core/locking to pick up mutex upates
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r-- | fs/seq_file.c | 2 |
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; |