Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25241
b: refs/heads/master
c: 6e0dd74
h: refs/heads/master
i:
  25239: ed49c2e
v: v3
  • Loading branch information
Greg Kroah-Hartman authored and Linus Torvalds committed Apr 2, 2006
1 parent 3ced8c6 commit cf7781b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 597a7679dd83691be2f3a53e1f3f915b4a7f6eba
refs/heads/master: 6e0dd741a89be35defa05bd79f4211c5a2762825
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t
return -ENOMEM;

if (count >= PAGE_SIZE)
count = PAGE_SIZE;
count = PAGE_SIZE - 1;
error = copy_from_user(buffer->page,buf,count);
buffer->needs_read_fill = 1;
return error ? -EFAULT : count;
Expand Down

0 comments on commit cf7781b

Please sign in to comment.