mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
isert-scst: Insert a blank line after declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -294,6 +294,7 @@ out:
|
||||
void isert_wr_release(struct isert_wr *wr)
|
||||
{
|
||||
struct isert_buf *isert_buf = wr->buf;
|
||||
|
||||
if (isert_buf && isert_buf->is_alloced) {
|
||||
struct isert_device *isert_dev = wr->isert_dev;
|
||||
struct ib_device *ib_dev;
|
||||
|
||||
@@ -107,6 +107,7 @@ int isert_portal_remove(void *portal_h)
|
||||
void isert_free_connection(struct iscsi_conn *iscsi_conn)
|
||||
{
|
||||
struct isert_connection *isert_conn = (struct isert_connection *)iscsi_conn;
|
||||
|
||||
isert_post_drain(isert_conn);
|
||||
isert_conn_free(isert_conn);
|
||||
}
|
||||
|
||||
@@ -82,6 +82,7 @@ static int isert_rx_pdu_init(struct isert_cmnd *isert_pdu,
|
||||
{
|
||||
struct iscsi_cmnd *iscsi_cmnd = &isert_pdu->iscsi;
|
||||
int err = isert_pdu_rx_buf_init(isert_pdu, isert_conn);
|
||||
|
||||
if (unlikely(err < 0))
|
||||
return err;
|
||||
iscsi_cmnd->conn = &isert_conn->iscsi;
|
||||
|
||||
@@ -567,6 +567,7 @@ static ssize_t isert_read(struct file *filp, char __user *buf, size_t count,
|
||||
|
||||
if (will_read_block(dev)) {
|
||||
int ret;
|
||||
|
||||
if (filp->f_flags & O_NONBLOCK)
|
||||
return -EAGAIN;
|
||||
ret = wait_event_freezable(dev->waitqueue,
|
||||
|
||||
Reference in New Issue
Block a user