Commit a36fed12a4d980eebb2e67b87ea30ad090238cff
Committed by
Linus Torvalds
1 parent
dfad53d48e
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/exofs/exofs.h
... | ... | @@ -85,6 +85,7 @@ |
85 | 85 | u32 s_next_generation; /* next gen # to use */ |
86 | 86 | atomic_t s_curr_pending; /* number of pending commands */ |
87 | 87 | uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */ |
88 | + struct backing_dev_info bdi; /* register our bdi with VFS */ | |
88 | 89 | |
89 | 90 | struct pnfs_osd_data_map data_map; /* Default raid to use |
90 | 91 | * FIXME: Needed ? |
... | ... | @@ -93,7 +94,6 @@ |
93 | 94 | struct exofs_layout layout; /* Default files layout, |
94 | 95 | * contains the variable osd_dev |
95 | 96 | * array. Keep last */ |
96 | - struct backing_dev_info bdi; | |
97 | 97 | struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */ |
98 | 98 | }; |
99 | 99 |