Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377156
b: refs/heads/master
c: 8177a9d
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 16, 2013
1 parent 9949839 commit 1f65d9e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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: 7d132055814ef17a6c7b69f342244c410a5e000f
refs/heads/master: 8177a9d79c0e942dcac3312f15585d0344d505a5
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/brocade/bna/bnad_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bnad_debugfs_lseek(struct file *file, loff_t offset, int orig)
file->f_pos += offset;
break;
case 2:
file->f_pos = debug->buffer_len - offset;
file->f_pos = debug->buffer_len + offset;
break;
default:
return -EINVAL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/bfa/bfad_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ bfad_debugfs_lseek(struct file *file, loff_t offset, int orig)
file->f_pos += offset;
break;
case 2:
file->f_pos = debug->buffer_len - offset;
file->f_pos = debug->buffer_len + offset;
break;
default:
return -EINVAL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/fnic/fnic_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static loff_t fnic_trace_debugfs_lseek(struct file *file,
pos = file->f_pos + offset;
break;
case 2:
pos = fnic_dbg_prt->buffer_len - offset;
pos = fnic_dbg_prt->buffer_len + offset;
}
return (pos < 0 || pos > fnic_dbg_prt->buffer_len) ?
-EINVAL : (file->f_pos = pos);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/lpfc/lpfc_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ lpfc_debugfs_lseek(struct file *file, loff_t off, int whence)
pos = file->f_pos + off;
break;
case 2:
pos = debug->len - off;
pos = debug->len + off;
}
return (pos < 0 || pos > debug->len) ? -EINVAL : (file->f_pos = pos);
}
Expand Down

0 comments on commit 1f65d9e

Please sign in to comment.