Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233141
b: refs/heads/master
c: de1f016
h: refs/heads/master
i:
  233139: ba7a381
v: v3
  • Loading branch information
Soren Hansen authored and Linus Torvalds committed Feb 12, 2011
1 parent 60b8ddb commit 25eb376
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 24a6f5b8589d2abfbf523c59ab1258726edc164f
refs/heads/master: de1f016f882e52facc3c8609599f827bcdd14af9
3 changes: 0 additions & 3 deletions trunk/drivers/block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#define DBG_BLKDEV 0x0100
#define DBG_RX 0x0200
#define DBG_TX 0x0400
static DEFINE_MUTEX(nbd_mutex);
static unsigned int debugflags;
#endif /* NDEBUG */

Expand Down Expand Up @@ -718,11 +717,9 @@ static int nbd_ioctl(struct block_device *bdev, fmode_t mode,
dprintk(DBG_IOCTL, "%s: nbd_ioctl cmd=%s(0x%x) arg=%lu\n",
lo->disk->disk_name, ioctl_cmd_to_ascii(cmd), cmd, arg);

mutex_lock(&nbd_mutex);
mutex_lock(&lo->tx_lock);
error = __nbd_ioctl(bdev, lo, cmd, arg);
mutex_unlock(&lo->tx_lock);
mutex_unlock(&nbd_mutex);

return error;
}
Expand Down

0 comments on commit 25eb376

Please sign in to comment.