Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182945
b: refs/heads/master
c: 9a8c28c
h: refs/heads/master
i:
  182943: 2e300c4
v: v3
  • Loading branch information
Dmitry Monakhov authored and Jens Axboe committed Feb 28, 2010
1 parent f1f9923 commit 797c53f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9f7cdbc33f36d28e57eaba0093f68f0d14c38c5b
refs/heads/master: 9a8c28c8311e30ba97499447d5a11662f5aea094
5 changes: 3 additions & 2 deletions trunk/kernel/trace/blktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,10 @@ int blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
if (ret)
return ret;

if (copy_to_user(arg, &buts, sizeof(buts)))
if (copy_to_user(arg, &buts, sizeof(buts))) {
blk_trace_remove(q);
return -EFAULT;

}
return 0;
}
EXPORT_SYMBOL_GPL(blk_trace_setup);
Expand Down

0 comments on commit 797c53f

Please sign in to comment.