Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221475
b: refs/heads/master
c: c531b9b
h: refs/heads/master
i:
  221473: 5cd0d47
  221471: 00e1713
v: v3
  • Loading branch information
Bhanu Prakash Gollapudi authored and James Bottomley committed Oct 25, 2010
1 parent 574e71f commit 0e5c213
Show file tree
Hide file tree
Showing 3 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: 8b7ac2bb07bbadb0636f21f51564e6d363bb6d20
refs/heads/master: c531b9b49b146e1535dbed006d15e58f4f528f7e
5 changes: 2 additions & 3 deletions trunk/drivers/scsi/libfc/fc_disc.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,10 +684,9 @@ void fc_disc_stop(struct fc_lport *lport)
{
struct fc_disc *disc = &lport->disc;

if (disc) {
if (disc->pending)
cancel_delayed_work_sync(&disc->disc_work);
fc_disc_stop_rports(disc);
}
fc_disc_stop_rports(disc);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/scsi/libfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ struct libfc_function_template {
* struct fc_disc - Discovery context
* @retry_count: Number of retries
* @pending: 1 if discovery is pending, 0 if not
* @requesting: 1 if discovery has been requested, 0 if not
* @requested: 1 if discovery has been requested, 0 if not
* @seq_count: Number of sequences used for discovery
* @buf_len: Length of the discovery buffer
* @disc_id: Discovery ID
Expand Down

0 comments on commit 0e5c213

Please sign in to comment.