libbb/loop: fix compile failure (name collision)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
fb0c000567
commit
e7977df2ca
@ -112,7 +112,7 @@ static int get_next_free_loop(char *dev, int id)
|
|||||||
|
|
||||||
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
|
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
|
||||||
# define LOOP_CONFIGURE 0x4C0A
|
# define LOOP_CONFIGURE 0x4C0A
|
||||||
struct loop_config {
|
struct bb_loop_config {
|
||||||
uint32_t fd;
|
uint32_t fd;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
struct loop_info64 info;
|
struct loop_info64 info;
|
||||||
@ -128,7 +128,7 @@ static int set_loopdev_params(int lfd,
|
|||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
|
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
|
||||||
struct loop_config lconfig;
|
struct bb_loop_config lconfig;
|
||||||
# define loopinfo lconfig.info
|
# define loopinfo lconfig.info
|
||||||
#else
|
#else
|
||||||
bb_loop_info loopinfo;
|
bb_loop_info loopinfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user