summaryrefslogtreecommitdiff
path: root/include/linux/loop.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-09-10 22:58:42 +0200
committerArnd Bergmann <arnd@arndb.de>2011-09-10 22:58:42 +0200
commit72787aa866bfa6bcbd259e7a39b2f9a2f412794e (patch)
tree1769d854a26f444875f7cdfd9982fe494a4cff71 /include/linux/loop.h
parentad9f6677575e80ce23cb491d5ffb7b536772552e (diff)
parent0a072a247fa79979dd31813decb6b118d7d511fd (diff)
Merge branches 'tegra/board' and 'at91/board' into next/board
Diffstat (limited to 'include/linux/loop.h')
-rw-r--r--include/linux/loop.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/loop.h b/include/linux/loop.h
index 66c194e2d9b9..683d69890119 100644
--- a/include/linux/loop.h
+++ b/include/linux/loop.h
@@ -64,7 +64,6 @@ struct loop_device {
struct request_queue *lo_queue;
struct gendisk *lo_disk;
- struct list_head lo_list;
};
#endif /* __KERNEL__ */
@@ -161,4 +160,8 @@ int loop_unregister_transfer(int number);
#define LOOP_CHANGE_FD 0x4C06
#define LOOP_SET_CAPACITY 0x4C07
+/* /dev/loop-control interface */
+#define LOOP_CTL_ADD 0x4C80
+#define LOOP_CTL_REMOVE 0x4C81
+#define LOOP_CTL_GET_FREE 0x4C82
#endif