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>
This commit is contained in:
Родитель
0661b1ac5d
Коммит
33f60e9640
|
@ -1,13 +1,14 @@
|
||||||
#ifndef __CODA_PSDEV_H
|
#ifndef __CODA_PSDEV_H
|
||||||
#define __CODA_PSDEV_H
|
#define __CODA_PSDEV_H
|
||||||
|
|
||||||
#include <linux/backing-dev.h>
|
|
||||||
#include <linux/magic.h>
|
#include <linux/magic.h>
|
||||||
|
|
||||||
#define CODA_PSDEV_MAJOR 67
|
#define CODA_PSDEV_MAJOR 67
|
||||||
#define MAX_CODADEVS 5 /* how many do we allow */
|
#define MAX_CODADEVS 5 /* how many do we allow */
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
#include <linux/backing-dev.h>
|
||||||
|
|
||||||
struct kstatfs;
|
struct kstatfs;
|
||||||
|
|
||||||
/* communication pending/processing queues */
|
/* communication pending/processing queues */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче