Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24056
b: refs/heads/master
c: 3e88c17
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Poetzl authored and Linus Torvalds committed Mar 26, 2006
1 parent 27afad8 commit 977c000
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 22e6c1b39c648850438decd491f62d311800c7db
refs/heads/master: 3e88c17d404c5787afd5bd1763380317f5ccbf84
4 changes: 3 additions & 1 deletion trunk/drivers/block/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,9 @@ static int loop_set_fd(struct loop_device *lo, struct file *lo_file,

set_blocksize(bdev, lo_blocksize);

kernel_thread(loop_thread, lo, CLONE_KERNEL);
error = kernel_thread(loop_thread, lo, CLONE_KERNEL);
if (error < 0)
goto out_putf;
wait_for_completion(&lo->lo_done);
return 0;

Expand Down

0 comments on commit 977c000

Please sign in to comment.