diff options
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r-- | drivers/block/nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 069ae39a9cd9..c575fb1d585f 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -416,7 +416,7 @@ static void nbd_clear_que(struct nbd_device *lo) | |||
416 | /* | 416 | /* |
417 | * We always wait for result of write, for now. It would be nice to make it optional | 417 | * We always wait for result of write, for now. It would be nice to make it optional |
418 | * in future | 418 | * in future |
419 | * if ((req->cmd == WRITE) && (lo->flags & NBD_WRITE_NOCHK)) | 419 | * if ((rq_data_dir(req) == WRITE) && (lo->flags & NBD_WRITE_NOCHK)) |
420 | * { printk( "Warning: Ignoring result!\n"); nbd_end_request( req ); } | 420 | * { printk( "Warning: Ignoring result!\n"); nbd_end_request( req ); } |
421 | */ | 421 | */ |
422 | 422 | ||