⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jbd-16tb-overflow-fixes.patch

📁 非常经典的一个分布式系统
💻 PATCH
字号:
Date: Tue, 26 Sep 2006 11:00:28 -0500From: Eric Sandeen <esandeen@redhat.com>Subject: Re: [PATCH RHEL5] 16T overflows in jbd codeSigned-off-by: Eric Sandeen <esandeen@redhat.com>Signed-off-by: Andrew Morton <akpm@osdl.org>Index: linux-2.6.17-1.2654.el5/fs/jbd/journal.c===================================================================--- linux-2.6.17-1.2654.el5.orig/fs/jbd/journal.c+++ linux-2.6.17-1.2654.el5/fs/jbd/journal.c@@ -271,7 +271,7 @@ static void journal_kill_thread(journal_ int journal_write_metadata_buffer(transaction_t *transaction, 				  struct journal_head  *jh_in, 				  struct journal_head **jh_out,-				  int blocknr)+				  unsigned long blocknr) { 	int need_copy_out = 0; 	int done_copy_out = 0;@@ -696,7 +696,7 @@ fail:  *  @bdev: Block device on which to create the journal  *  @fs_dev: Device which hold journalled filesystem for this journal.  *  @start: Block nr Start of journal.- *  @len:  Lenght of the journal in blocks.+ *  @len:  Length of the journal in blocks.  *  @blocksize: blocksize of journalling device  *  @returns: a newly created journal_t *  *  Index: linux-2.6.17-1.2654.el5/include/linux/jbd.h===================================================================--- linux-2.6.17-1.2654.el5.orig/include/linux/jbd.h+++ linux-2.6.17-1.2654.el5/include/linux/jbd.h@@ -866,7 +866,7 @@ extern int  journal_write_metadata_buffer(transaction_t	  *transaction, 			      struct journal_head  *jh_in, 			      struct journal_head **jh_out,-			      int		   blocknr);+			      unsigned long	   blocknr);  /* Transaction locking */ extern void		__wait_on_journal (journal_t *);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -