aboutsummaryrefslogtreecommitdiff
path: root/fs/exofs/exofs.h
diff options
context:
space:
mode:
authorGravatar Jens Axboe <jens.axboe@oracle.com> 2010-04-22 12:26:04 +0200
committerGravatar Jens Axboe <jens.axboe@oracle.com> 2010-04-22 12:26:04 +0200
commitb3d0ab7e60d1865bb6f6a79a77aaba22f2543236 (patch)
treebd770d63b01998b8ad1ee0f9fc463465b3586e8a /fs/exofs/exofs.h
parentecryptfs: add bdi backing to mount session (diff)
downloadlinux-b3d0ab7e60d1865bb6f6a79a77aaba22f2543236.tar.gz
linux-b3d0ab7e60d1865bb6f6a79a77aaba22f2543236.tar.bz2
linux-b3d0ab7e60d1865bb6f6a79a77aaba22f2543236.zip
exofs: add bdi backing to mount session
This ensures that dirty data gets flushed properly. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/exofs/exofs.h')
-rw-r--r--fs/exofs/exofs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h
index 8442e353309f..54373278a353 100644
--- a/fs/exofs/exofs.h
+++ b/fs/exofs/exofs.h
@@ -35,6 +35,7 @@
#include <linux/fs.h>
#include <linux/time.h>
+#include <linux/backing-dev.h>
#include "common.h"
/* FIXME: Remove once pnfs hits mainline
@@ -92,6 +93,7 @@ struct exofs_sb_info {
struct exofs_layout layout; /* Default files layout,
* contains the variable osd_dev
* array. Keep last */
+ struct backing_dev_info bdi;
struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */
};