mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user