Skip to content

Commit

Permalink
coda: move backing-dev.h kernel include inside __KERNEL__
Browse files Browse the repository at this point in the history
Otherwise we must export backing-dev.h as well, which doesn't make
any sense.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Apr 28, 2010
1 parent 0661b1a commit 33f60e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/coda_psdev.h
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit 33f60e9

Please sign in to comment.