Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276655
b: refs/heads/master
c: 73104b6
h: refs/heads/master
i:
  276653: c83c240
  276651: 7672487
  276647: 90b2014
  276639: db1267e
v: v3
  • Loading branch information
Miklos Szeredi committed Dec 13, 2011
1 parent 3226f0d commit 587619f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b48c6af2086ab2ba8a9c9b6ce9ecb34592ce500c
refs/heads/master: 73104b6e37f75f822e3dcf016147c322d1f6dad9
4 changes: 4 additions & 0 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,10 @@ static loff_t fuse_file_llseek(struct file *file, loff_t offset, int origin)
offset += i_size_read(inode);
break;
case SEEK_CUR:
if (offset == 0) {
retval = file->f_pos;
goto exit;
}
offset += file->f_pos;
break;
case SEEK_DATA:
Expand Down

0 comments on commit 587619f

Please sign in to comment.