diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-25 19:00:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:33 -0400 |
commit | a3b2e09333ce811e69ac71379a2dd8ccd1b2ca6f (patch) | |
tree | aa08563d7295232aa784d1fd743708139d15f859 /drivers | |
parent | 5cc06df69f0865750ed5c95e3d930be31b7c861e (diff) |
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/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/Makefile | 1 | ||||
-rw-r--r-- | drivers/staging/cowloop/Kconfig | 16 | ||||
-rw-r--r-- | drivers/staging/cowloop/Makefile | 1 |
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" | |||
141 | 141 | ||
142 | source "drivers/staging/iio/Kconfig" | 142 | source "drivers/staging/iio/Kconfig" |
143 | 143 | ||
144 | source "drivers/staging/cowloop/Kconfig" | ||
145 | |||
144 | endif # !STAGING_EXCLUDE_BUILD | 146 | endif # !STAGING_EXCLUDE_BUILD |
145 | endif # STAGING | 147 | 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/ | |||
52 | obj-$(CONFIG_RAR_REGISTER) += rar/ | 52 | obj-$(CONFIG_RAR_REGISTER) += rar/ |
53 | obj-$(CONFIG_DX_SEP) += sep/ | 53 | obj-$(CONFIG_DX_SEP) += sep/ |
54 | obj-$(CONFIG_IIO) += iio/ | 54 | obj-$(CONFIG_IIO) += iio/ |
55 | 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 @@ | |||
1 | config COWLOOP | ||
2 | tristate "copy-on-write pseudo Block Driver" | ||
3 | depends on BLOCK | ||
4 | default n | ||
5 | ---help--- | ||
6 | Cowloop is a "copy-on-write" pseudo block driver. It can be | ||
7 | stacked on top of a "real" block driver, and catches all write | ||
8 | operations on their way from the file systems layer above to | ||
9 | the real driver below, effectively shielding the lower driver | ||
10 | from those write accesses. The requests are then diverted to | ||
11 | an ordinary file, located somewhere else (configurable). Later | ||
12 | read requests are checked to see whether they can be serviced | ||
13 | by the "real" block driver below, or must be pulled in from | ||
14 | the diverted location. More information and userspace tools to | ||
15 | use the driver are on the project's website | ||
16 | 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 | |||