Skip to content

Commit 3c2023d

Browse files
Boaz HarroshJens Axboe
authored andcommitted
exofs: Fix "add bdi backing to mount session" fall out
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>
1 parent 5477d0f commit 3c2023d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/exofs/exofs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ struct exofs_sb_info {
8585
u32 s_next_generation; /* next gen # to use */
8686
atomic_t s_curr_pending; /* number of pending commands */
8787
uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */
88+
struct backing_dev_info bdi; /* register our bdi with VFS */
8889

8990
struct pnfs_osd_data_map data_map; /* Default raid to use
9091
* FIXME: Needed ?
@@ -93,7 +94,6 @@ struct exofs_sb_info {
9394
struct exofs_layout layout; /* Default files layout,
9495
* contains the variable osd_dev
9596
* array. Keep last */
96-
struct backing_dev_info bdi;
9797
struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */
9898
};
9999

0 commit comments

Comments
 (0)