Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273819
b: refs/heads/master
c: 25ac0c2
h: refs/heads/master
i:
  273817: 3ef6c88
  273815: 8b293a2
v: v3
  • Loading branch information
WANG Cong authored and Jens Axboe committed Aug 19, 2011
1 parent 8a08aab commit d8bb6db
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: f963d270cb7bbb8eeb57901d02b22a493e664fd2
refs/heads/master: 25ac0c2b971235d3e8c7af0b6889a1eb6988b559
2 changes: 1 addition & 1 deletion trunk/drivers/block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static int nbd_do_it(struct nbd_device *lo)

BUG_ON(lo->magic != LO_MAGIC);

lo->pid = current->pid;
lo->pid = task_pid_nr(current);
ret = sysfs_create_file(&disk_to_dev(lo->disk)->kobj, &pid_attr.attr);
if (ret) {
printk(KERN_ERR "nbd: sysfs_create_file failed!");
Expand Down

0 comments on commit d8bb6db

Please sign in to comment.