dm bufio: move dm-bufio.h to include/linux/
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 15 Mar 2018 20:02:31 +0000 (16:02 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:23 +0000 (15:04 -0400)
commitafa53df869121fd4f6f1265cbe794d64387890ae
treed262dc8d2ae2eb9a080160464c123930e3f5a97f
parent1f013174b352057557e47321f23a33e39e752bd4
dm bufio: move dm-bufio.h to include/linux/

Move dm-bufio.h to include/linux/ so that external GPL'd DM target
modules can use it.

It is better to allow the use of dm-bufio than force external modules
to implement the equivalent buffered IO mechanism in some new way.  The
hope is this will encourage the use of dm-bufio; which will then make it
easier for a GPL'd external DM target module to be included upstream.

A couple dm-bufio EXPORT_SYMBOL exports have also been updated to use
EXPORT_SYMBOL_GPL.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c
drivers/md/dm-bufio.h [deleted file]
drivers/md/dm-integrity.c
drivers/md/dm-snap-persistent.c
drivers/md/dm-verity.h
drivers/md/persistent-data/dm-block-manager.c
include/linux/dm-bufio.h [new file with mode: 0644]