Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20375
b: refs/heads/master
c: 5b940ad
h: refs/heads/master
i:
  20373: f68693a
  20371: ec09ade
  20367: 2a7cc7c
v: v3
  • Loading branch information
Mike Christie authored and unknown committed Feb 4, 2006
1 parent 0e3fcbc commit b2cb019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 7b7232f3fb5ecd7c30cb52df368070cc5f5ca614
refs/heads/master: 5b940adf5b341b12dbb94e7cbdb416b35f52017b
7 changes: 3 additions & 4 deletions trunk/drivers/scsi/scsi_transport_iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,7 @@ iscsi_if_send_reply(int pid, int seq, int type, int done, int multi,
}

static int
iscsi_if_get_stats(struct iscsi_transport *transport, struct sk_buff *skb,
struct nlmsghdr *nlh)
iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh)
{
struct iscsi_uevent *ev = NLMSG_DATA(nlh);
struct iscsi_stats *stats;
Expand Down Expand Up @@ -732,7 +731,7 @@ iscsi_if_get_stats(struct iscsi_transport *transport, struct sk_buff *skb,
stats->custom_length);
actual_size -= sizeof(*nlhstat);
actual_size = NLMSG_LENGTH(actual_size);
skb_trim(skb, NLMSG_ALIGN(actual_size));
skb_trim(skbstat, NLMSG_ALIGN(actual_size));
nlhstat->nlmsg_len = actual_size;

err = iscsi_unicast_skb(conn->z_pdu, skbstat);
Expand Down Expand Up @@ -923,7 +922,7 @@ iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
err = -EINVAL;
break;
case ISCSI_UEVENT_GET_STATS:
err = iscsi_if_get_stats(transport, skb, nlh);
err = iscsi_if_get_stats(transport, nlh);
break;
default:
err = -EINVAL;
Expand Down

0 comments on commit b2cb019

Please sign in to comment.