forked from luck/tmp_suning_uos_patched
[SCSI] bsg: no need to set BSG_F_BLOCK bit in bsg_complete_all_commands
Before bsg_complete_all_commands is called, BSG_F_BLOCK bit is always set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
842ea771c3
commit
99773aab03
|
@ -467,8 +467,6 @@ static int bsg_complete_all_commands(struct bsg_device *bd)
|
|||
|
||||
dprintk("%s: entered\n", bd->name);
|
||||
|
||||
set_bit(BSG_F_BLOCK, &bd->flags);
|
||||
|
||||
/*
|
||||
* wait for all commands to complete
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user