Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2397
b: refs/heads/master
c: 9d9d27f
h: refs/heads/master
i:
  2395: 7c1be01
v: v3
  • Loading branch information
Jon Smirl authored and Greg Kroah-Hartman committed Jun 20, 2005
1 parent 0388573 commit 6f6829b
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: 42b16c051c3f462095fb8c9bad1bc05b34518cb9
refs/heads/master: 9d9d27fb651a7c95a46f276bacb4329db47470a6
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t
return -ENOMEM;

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

0 comments on commit 6f6829b

Please sign in to comment.