Skip to content

Commit

Permalink
staging: hv: make the block driver depend on LBDAF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent ee35037 commit 5afd06c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5afd06c

Please sign in to comment.