exofs: Fix "add bdi backing to mount session" fall out

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, April 29, 2010 - 5:59 pm

Gitweb:     http://git.kernel.org/linus/3c2023dd8ed31e2ecfbb2d5aa20e8884d4b339e2
Commit:     3c2023dd8ed31e2ecfbb2d5aa20e8884d4b339e2
Parent:     5477d0face8a3ba4e9a1e7283692fff9c92f8e5e
Author:     Boaz Harrosh <bharrosh@panasas.com>
AuthorDate: Thu Apr 29 20:35:29 2010 +0200
Committer:  Jens Axboe <jens.axboe@oracle.com>
CommitDate: Thu Apr 29 20:35:29 2010 +0200

    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>
---
 fs/exofs/exofs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h
index 5437327..22721b2 100644
--- a/fs/exofs/exofs.h
+++ b/fs/exofs/exofs.h
@@ -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 ?
@@ -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   */
 };
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
exofs: Fix "add bdi backing to mount session" fall out, Linux Kernel Mailing ..., (Thu Apr 29, 5:59 pm)