Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358899
b: refs/heads/master
c: 765b34f
h: refs/heads/master
i:
  358897: 5bdd0ff
  358895: 9ccb004
v: v3
  • Loading branch information
Asias He authored and Nicholas Bellinger committed Feb 13, 2013
1 parent 2b0d28b commit 7a62148
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d6064a347a8e15451cbdf6286542d402c9da24c
refs/heads/master: 765b34fdc1507add8fd6f1007410e7a375d0f89c
6 changes: 6 additions & 0 deletions trunk/drivers/vhost/tcm_vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ static struct workqueue_struct *tcm_vhost_workqueue;
static DEFINE_MUTEX(tcm_vhost_mutex);
static LIST_HEAD(tcm_vhost_list);

static int iov_num_pages(struct iovec *iov)
{
return (PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -
((unsigned long)iov->iov_base & PAGE_MASK)) >> PAGE_SHIFT;
}

static int tcm_vhost_check_true(struct se_portal_group *se_tpg)
{
return 1;
Expand Down

0 comments on commit 7a62148

Please sign in to comment.