summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoaz Harrosh2010-04-29 12:38:00 +0200
committerLinus Torvalds2010-04-29 16:59:16 +0200
commita36fed12a4d980eebb2e67b87ea30ad090238cff (patch)
treeff56582ba7ccca5d303b909c146032013bf047d0
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-qcow2-linux-a36fed12a4d980eebb2e67b87ea30ad090238cff.tar.gz
kernel-qcow2-linux-a36fed12a4d980eebb2e67b87ea30ad090238cff.tar.xz
kernel-qcow2-linux-a36fed12a4d980eebb2e67b87ea30ad090238cff.zip
exofs: Fix "add bdi backing to mount session" fall out
Commit b3d0ab7e60d1865bb6f6a79a77aaba22f2543236 ("exofs: add bdi backing to mount session") has a bug in the placement of the bdi member at struct exofs_sb_info. The layout member must be kept last. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Acked-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/exofs/exofs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h
index 54373278a353..22721b2fd890 100644
--- a/fs/exofs/exofs.h
+++ b/fs/exofs/exofs.h
@@ -85,6 +85,7 @@ struct exofs_sb_info {
u32 s_next_generation; /* next gen # to use */
atomic_t s_curr_pending; /* number of pending commands */
uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */
+ struct backing_dev_info bdi; /* register our bdi with VFS */
struct pnfs_osd_data_map data_map; /* Default raid to use
* FIXME: Needed ?
@@ -93,7 +94,6 @@ 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 */
};