[SCSI] bsg: no need to set BSG_F_BLOCK bit in bsg_complete_all_commands
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 31 Mar 2008 01:03:42 +0000 (10:03 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 18 Apr 2008 16:48:43 +0000 (11:48 -0500)
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>
block/bsg.c

index 9339981242110726c337c93156a7e98b9344b892..302ac1f5af391b7058aad198615cdf1fee29931d 100644 (file)
@@ -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
         */