Skip to content

Commit

Permalink
exofs: Fix "add bdi backing to mount session" fall out
Browse files Browse the repository at this point in the history
The patch: add bdi backing to mount session
	(b3d0ab7)

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>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Boaz Harrosh authored and Jens Axboe committed Apr 29, 2010
1 parent 5477d0f commit 3c2023d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/exofs/exofs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand All @@ -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 */
};

Expand Down

0 comments on commit 3c2023d

Please sign in to comment.