mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
Minor cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ static inline int list_is_last(const struct list_head *list,
|
||||
/* Dev handler's dev_done() is going to be called */
|
||||
#define SCST_CMD_STATE_DEV_DONE 11
|
||||
|
||||
/* Target driver's xmit_response() is going to be called */
|
||||
/* Checks before target driver's xmit_response() is called */
|
||||
#define SCST_CMD_STATE_PRE_XMIT_RESP 12
|
||||
|
||||
/* Target driver's xmit_response() is going to be called */
|
||||
|
||||
@@ -10,7 +10,7 @@ diff -upkr linux-2.6.35/block/blk-map.c linux-2.6.35/block/blk-map.c
|
||||
#include <scsi/sg.h> /* for struct sg_iovec */
|
||||
|
||||
#include "blk.h"
|
||||
@@ -271,6 +273,336 @@ int blk_rq_unmap_user(struct bio *bio)
|
||||
@@ -271,6 +273,338 @@ int blk_rq_unmap_user(struct bio *bio)
|
||||
}
|
||||
EXPORT_SYMBOL(blk_rq_unmap_user);
|
||||
|
||||
@@ -263,6 +263,8 @@ diff -upkr linux-2.6.35/block/blk-map.c linux-2.6.35/block/blk-map.c
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ res = 0;
|
||||
+
|
||||
+ rq->buffer = NULL;
|
||||
+out:
|
||||
+ return res;
|
||||
|
||||
Reference in New Issue
Block a user