projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] knfsd: nfsd4: add per-operation server stats
[powerpc.git]
/
include
/
linux
/
loop.h
diff --git
a/include/linux/loop.h
b/include/linux/loop.h
index
40f63c9
..
e76c761
100644
(file)
--- a/
include/linux/loop.h
+++ b/
include/linux/loop.h
@@
-17,6
+17,7
@@
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/spinlock.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/spinlock.h>
+#include <linux/mutex.h>
/* Possible states of device */
enum {
/* Possible states of device */
enum {
@@
-58,9
+59,9
@@
struct loop_device {
struct bio *lo_bio;
struct bio *lo_biotail;
int lo_state;
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;
int lo_pending;
request_queue_t *lo_queue;