aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-08-25 16:00:48 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:33 -0700
commita3b2e09333ce811e69ac71379a2dd8ccd1b2ca6f (patch)
treeaa08563d7295232aa784d1fd743708139d15f859 /drivers
parentStaging: cowloop: add TODO file (diff)
downloadlinux-dev-a3b2e09333ce811e69ac71379a2dd8ccd1b2ca6f.tar.xz
linux-dev-a3b2e09333ce811e69ac71379a2dd8ccd1b2ca6f.zip
Staging: add cowloop to the build
Now that the code can build, let's add it to the build system. Cc: "H.J. Thomassen" <hjt@ATComputing.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/Kconfig2
-rw-r--r--drivers/staging/Makefile1
-rw-r--r--drivers/staging/cowloop/Kconfig16
-rw-r--r--drivers/staging/cowloop/Makefile1
4 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 2b3c0c45571d..ee073ce39740 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -141,5 +141,7 @@ source "drivers/staging/sep/Kconfig"
source "drivers/staging/iio/Kconfig"
+source "drivers/staging/cowloop/Kconfig"
+
endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index aa9553cc6a58..c5c8cae3645d 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -52,3 +52,4 @@ obj-$(CONFIG_VME_BUS) += vme/
obj-$(CONFIG_RAR_REGISTER) += rar/
obj-$(CONFIG_DX_SEP) += sep/
obj-$(CONFIG_IIO) += iio/
+obj-$(CONFIG_COWLOOP) += cowloop/
diff --git a/drivers/staging/cowloop/Kconfig b/drivers/staging/cowloop/Kconfig
new file mode 100644
index 000000000000..58d2a23bd2c1
--- /dev/null
+++ b/drivers/staging/cowloop/Kconfig
@@ -0,0 +1,16 @@
+config COWLOOP
+ tristate "copy-on-write pseudo Block Driver"
+ depends on BLOCK
+ default n
+ ---help---
+ Cowloop is a "copy-on-write" pseudo block driver. It can be
+ stacked on top of a "real" block driver, and catches all write
+ operations on their way from the file systems layer above to
+ the real driver below, effectively shielding the lower driver
+ from those write accesses. The requests are then diverted to
+ an ordinary file, located somewhere else (configurable). Later
+ read requests are checked to see whether they can be serviced
+ by the "real" block driver below, or must be pulled in from
+ the diverted location. More information and userspace tools to
+ use the driver are on the project's website
+ http://www.ATComputing.nl/cowloop/
diff --git a/drivers/staging/cowloop/Makefile b/drivers/staging/cowloop/Makefile
new file mode 100644
index 000000000000..2b6b81a63d21
--- /dev/null
+++ b/drivers/staging/cowloop/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_COWLOOP) += cowloop.o