summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-12 10:14:07 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 12:46:45 +0400
commit83a8761142cb38536e9e88dfc2432d331ea4e257 (patch)
treeff4d62cb9f0380b9fe0891f9d0c09fa748b369ba
parente06aeb571653ffb4398e915bba3a34af665ae98b (diff)
downloadlinux-83a8761142cb38536e9e88dfc2432d331ea4e257.tar.gz
linux-83a8761142cb38536e9e88dfc2432d331ea4e257.tar.bz2
linux-83a8761142cb38536e9e88dfc2432d331ea4e257.zip
move linux/loop.h to drivers/block
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/block/cryptoloop.c2
-rw-r--r--drivers/block/loop.c2
-rw-r--r--drivers/block/loop.h (renamed from include/linux/loop.h)2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c
index 8b6bb764b0a3..99e773cb70d0 100644
--- a/drivers/block/cryptoloop.c
+++ b/drivers/block/cryptoloop.c
@@ -25,9 +25,9 @@
#include <linux/string.h>
#include <linux/crypto.h>
#include <linux/blkdev.h>
-#include <linux/loop.h>
#include <linux/scatterlist.h>
#include <asm/uaccess.h>
+#include "loop.h"
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("loop blockdevice transferfunction adaptor / CryptoAPI");
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index d92d50fd84b7..40e715531aa6 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -63,7 +63,6 @@
#include <linux/init.h>
#include <linux/swap.h>
#include <linux/slab.h>
-#include <linux/loop.h>
#include <linux/compat.h>
#include <linux/suspend.h>
#include <linux/freezer.h>
@@ -76,6 +75,7 @@
#include <linux/sysfs.h>
#include <linux/miscdevice.h>
#include <linux/falloc.h>
+#include "loop.h"
#include <asm/uaccess.h>
diff --git a/include/linux/loop.h b/drivers/block/loop.h
index 460b60fa7adf..90df5d6485b6 100644
--- a/include/linux/loop.h
+++ b/drivers/block/loop.h
@@ -1,5 +1,5 @@
/*
- * include/linux/loop.h
+ * loop.h
*
* Written by Theodore Ts'o, 3/29/93.
*