diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-05-05 15:27:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:14 -0700 |
commit | 5afd06ccd6b309f6a47d7e8fa4ea349b25738d97 (patch) | |
tree | d63c312c5acbd7de854543f9211eab1337a0e404 | |
parent | ee3503762d86c13bb94ed1db200d4601517b1b9b (diff) | |
download | linux-3.10-5afd06ccd6b309f6a47d7e8fa4ea349b25738d97.tar.gz linux-3.10-5afd06ccd6b309f6a47d7e8fa4ea349b25738d97.tar.bz2 linux-3.10-5afd06ccd6b309f6a47d7e8fa4ea349b25738d97.zip |
staging: hv: make the block driver depend on LBDAF
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/hv/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig index 79afb1e96c3..97480f5c659 100644 --- a/drivers/staging/hv/Kconfig +++ b/drivers/staging/hv/Kconfig @@ -17,7 +17,7 @@ config HYPERV_STORAGE config HYPERV_BLOCK tristate "Microsoft Hyper-V virtual block driver" - depends on BLOCK && SCSI + depends on BLOCK && SCSI && LBDAF default HYPERV help Select this option to enable the Hyper-V virtual block driver. diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index b6a2cb8752d..8a25154c06f 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -1489,7 +1489,7 @@ static int __init blkvsc_init(void) { int ret; - ASSERT(sizeof(sector_t) == 8); /* Make sure CONFIG_LBD is set */ + BUILD_BUG_ON(sizeof(sector_t) != 8); DPRINT_ENTER(BLKVSC_DRV); |