diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-09-17 10:00:46 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-17 10:00:46 +0200 |
commit | 6d0aed7a38d06284db2a0e46c0a072b0c1c3299b (patch) | |
tree | f0c59524517fdd0ab384ac65c60bed305ebc77c8 /include/scsi | |
parent | 01ea50638bc04ca5259f5711fcdedefcdde1cf43 (diff) |
do_mounts: only enable PARTUUID for CONFIG_BLOCK
When CONFIG_BLOCK is not enabled:
init/do_mounts.c:71: error: implicit declaration of function 'dev_to_part'
init/do_mounts.c:71: warning: initialization makes pointer from integer without a cast
init/do_mounts.c:73: error: dereferencing pointer to incomplete type
init/do_mounts.c:76: error: dereferencing pointer to incomplete type
init/do_mounts.c:76: error: dereferencing pointer to incomplete type
init/do_mounts.c:102: error: implicit declaration of function 'part_pack_uuid'
init/do_mounts.c:104: error: 'block_class' undeclared (first use in this function)
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions