public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [git patches] ocfs2 fixes
@ 2007-01-29 20:04 Mark Fasheh
  2007-01-29 21:19 ` [Ocfs2-devel] " Mark Fasheh
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Fasheh @ 2007-01-29 20:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, ocfs2-devel, linux-kernel

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()

diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index c99e905..e61e218 100644
--- a/fs/ocfs2/ocfs2_fs.h
+++ b/fs/ocfs2/ocfs2_fs.h
@@ -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;
 	}
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-29 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 20:04 [git patches] ocfs2 fixes Mark Fasheh
2007-01-29 21:19 ` [Ocfs2-devel] " Mark Fasheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox