]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
coda: move backing-dev.h kernel include inside __KERNEL__
authorJens Axboe <jens.axboe@oracle.com>
Wed, 28 Apr 2010 07:20:33 +0000 (09:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 Apr 2010 07:20:33 +0000 (09:20 +0200)
Otherwise we must export backing-dev.h as well, which doesn't make
any sense.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/coda_psdev.h

index 644062e8d857d71443e932a73322269309d1ceb4..8859e2ede9fe3c368b774b560f80a735df6f4777 100644 (file)
@@ -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 */