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>

authored by Boaz Harrosh and committed by Linus Torvalds a36fed12 dfad53d4

+1 -1
+1 -1
fs/exofs/exofs.h
··· 85 u32 s_next_generation; /* next gen # to use */ 86 atomic_t s_curr_pending; /* number of pending commands */ 87 uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */ 88 89 struct pnfs_osd_data_map data_map; /* Default raid to use 90 * FIXME: Needed ? ··· 94 struct exofs_layout layout; /* Default files layout, 95 * contains the variable osd_dev 96 * array. Keep last */ 97 - struct backing_dev_info bdi; 98 struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */ 99 }; 100
··· 85 u32 s_next_generation; /* next gen # to use */ 86 atomic_t s_curr_pending; /* number of pending commands */ 87 uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */ 88 + struct backing_dev_info bdi; /* register our bdi with VFS */ 89 90 struct pnfs_osd_data_map data_map; /* Default raid to use 91 * FIXME: Needed ? ··· 93 struct exofs_layout layout; /* Default files layout, 94 * contains the variable osd_dev 95 * array. Keep last */ 96 struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */ 97 }; 98