Skip to contentSkip to conversation

ocfs2 fixes

PATCH In review Mark Fasheh 1 participant 2 messages Jan 29, 2007 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ocfs2 fixes

Hi Linus,
I made a silly error in my last upstream push. This patch makes
ocfs2 build again.

	--Mark

Please pull from 'upstream-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus

to receive the following updates:

 fs/ocfs2/ocfs2_fs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Mark Fasheh:
ocfs2: fix thinko in ocfs2_backup_super_blkno()

fs/ocfs2/ocfs2_fs.h +1 -1
index c99e905..e61e218 100644
@@ -587,7 +587,7 @@ static inline u64 ocfs2_backup_super_blk
 
 	if (index >= 0 && index < OCFS2_MAX_BACKUP_SUPERBLOCKS) {
 		offset <<= (2 * index);
-		offset /= sb->s_blocksize;
+		offset >>= sb->s_blocksize_bits;
 		return offset;
 	}
 
#1 lore raw
Quoted 3 lines · Mark Fasheh

Hi Linus,
I made a silly error in my last upstream push. This patch makes
ocfs2 build again.

Ok, never mind - I just noticed that you directly applied my patch on Friday. Thanks!

	--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]