Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359294
b: refs/heads/master
c: 80de7f7
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Feb 28, 2013
1 parent e6e5ff6 commit 9a55127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80d26af89a7249aa5475467000322163c60cdd72
refs/heads/master: 80de7f7ae013b1e287059f39eaba2a12219681cf
4 changes: 2 additions & 2 deletions trunk/fs/seq_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ loff_t seq_lseek(struct file *file, loff_t offset, int whence)
mutex_lock(&m->lock);
m->version = file->f_version;
switch (whence) {
case 1:
case SEEK_CUR:
offset += file->f_pos;
case 0:
case SEEK_SET:
if (offset < 0)
break;
retval = offset;
Expand Down

0 comments on commit 9a55127

Please sign in to comment.