aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2010-04-29 14:35:29 -0400
committerJens Axboe <jens.axboe@oracle.com>2010-04-29 14:35:29 -0400
commit3c2023dd8ed31e2ecfbb2d5aa20e8884d4b339e2 (patch)
treedf6e57bac0477e18c80786d5b014533ffe0eee34
parent5477d0face8a3ba4e9a1e7283692fff9c92f8e5e (diff)
exofs: Fix "add bdi backing to mount session" fall out
The patch: add bdi backing to mount session (b3d0ab7e60d1865bb6f6a79a77aaba22f2543236) 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>
-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 {
85 u32 s_next_generation; /* next gen # to use */ 85 u32 s_next_generation; /* next gen # to use */
86 atomic_t s_curr_pending; /* number of pending commands */ 86 atomic_t s_curr_pending; /* number of pending commands */
87 uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */ 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 struct pnfs_osd_data_map data_map; /* Default raid to use 90 struct pnfs_osd_data_map data_map; /* Default raid to use
90 * FIXME: Needed ? 91 * FIXME: Needed ?
@@ -93,7 +94,6 @@ struct exofs_sb_info {
93 struct exofs_layout layout; /* Default files layout, 94 struct exofs_layout layout; /* Default files layout,
94 * contains the variable osd_dev 95 * contains the variable osd_dev
95 * array. Keep last */ 96 * array. Keep last */
96 struct backing_dev_info bdi;
97 struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */ 97 struct osd_dev *_min_one_dev[1]; /* Place holder for one dev */
98}; 98};
99 99