git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2015-11-05 04:03:20 +00:00
parent 87c1d45bf8
commit 5058156b26
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -8402,7 +8402,6 @@ static ssize_t vdev_size_store(struct kobject *kobj,
char *new_size;
int res = -ENOMEM;
new_size = kasprintf(GFP_KERNEL, "%d %.*s", size_shift, (int)count,
buf);
if (!new_size)
+1 -1
View File
@@ -11984,7 +11984,7 @@ void scst_unblock_dev(struct scst_device *dev)
{
TRACE_ENTRY();
TRACE_BLOCK("Device UNBLOCK(new %d), dev %s",
TRACE_BLOCK("Device UNBLOCK (new %d), dev %s",
dev->block_count-1, dev->virt_name);
if (--dev->block_count == 0) {
+2 -2
View File
@@ -681,8 +681,8 @@ void scst_gen_aen_or_ua(struct scst_tgt_dev *tgt_dev,
* we don't care about all commands that already on the device.
*/
extern void scst_block_dev(struct scst_device *dev);
extern void scst_unblock_dev(struct scst_device *dev);
void scst_block_dev(struct scst_device *dev);
void scst_unblock_dev(struct scst_device *dev);
bool __scst_check_blocked_dev(struct scst_cmd *cmd);