diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 12:26:04 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 12:26:04 +0200 |
commit | b3d0ab7e60d1865bb6f6a79a77aaba22f2543236 (patch) | |
tree | bd770d63b01998b8ad1ee0f9fc463465b3586e8a /fs/exofs/exofs.h | |
parent | 9df9c8b930156a2f9ce2b2ae66acb14bee2663f5 (diff) | |
download | op-kernel-dev-b3d0ab7e60d1865bb6f6a79a77aaba22f2543236.zip op-kernel-dev-b3d0ab7e60d1865bb6f6a79a77aaba22f2543236.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h index 8442e35..5437327 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 */ }; |