X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Floop.h;h=e76c7611d6cc56e115ad71a49aa25861cc2208f6;hb=364c6badde0dd62a0a38e5ed67f85d87d6665780;hp=40f63c9879d26798bbfc073753cc58ecd9de306b;hpb=5dd962494f76fb3ef1196cd420b5d6260d7a3766;p=powerpc.git diff --git a/include/linux/loop.h b/include/linux/loop.h index 40f63c9879..e76c7611d6 100644 --- a/include/linux/loop.h +++ b/include/linux/loop.h @@ -17,6 +17,7 @@ #include #include #include +#include /* Possible states of device */ enum { @@ -58,9 +59,9 @@ struct loop_device { struct bio *lo_bio; struct bio *lo_biotail; int lo_state; - struct semaphore lo_sem; - struct semaphore lo_ctl_mutex; - struct semaphore lo_bh_mutex; + struct completion lo_done; + struct completion lo_bh_done; + struct mutex lo_ctl_mutex; int lo_pending; request_queue_t *lo_queue;