summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-28 09:20:33 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-28 09:20:33 +0200
commit33f60e9640b2f60dde6735293d4aa5ecc5b1d5d5 (patch)
tree9fc41444f93cd0e4c78fabd081b2d113fc917fc9
parent0661b1ac5d48eb47c8a5948c0554fea25e0895ab (diff)
downloadop-kernel-dev-33f60e9640b2f60dde6735293d4aa5ecc5b1d5d5.zip
op-kernel-dev-33f60e9640b2f60dde6735293d4aa5ecc5b1d5d5.tar.gz
coda: move backing-dev.h kernel include inside __KERNEL__
Otherwise we must export backing-dev.h as well, which doesn't make any sense. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--include/linux/coda_psdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h
index 644062e8..8859e2e 100644
--- a/include/linux/coda_psdev.h
+++ b/include/linux/coda_psdev.h
@@ -1,13 +1,14 @@
#ifndef __CODA_PSDEV_H
#define __CODA_PSDEV_H
-#include <linux/backing-dev.h>
#include <linux/magic.h>
#define CODA_PSDEV_MAJOR 67
#define MAX_CODADEVS 5 /* how many do we allow */
#ifdef __KERNEL__
+#include <linux/backing-dev.h>
+
struct kstatfs;
/* communication pending/processing queues */
OpenPOWER on IntegriCloud