- jbd-make-journal_do_submit_data-static.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     JBD: Make journal_brelse_array() static

has been removed from the -mm tree.  Its filename is

     jbd-make-journal_do_submit_data-static.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: JBD: Make journal_brelse_array() static
From: Dave Kleikamp <shaggy@xxxxxxxxxxxxxx>

It's always good to make symbols static when we can, and this also eliminates
the need to rename the function in jbd2

Suggested by Eric Sandeen.

Signed-off-by: Dave Kleikamp <shaggy@xxxxxxxxxxxxxx>
Cc: Eric Sandeen <sandeen@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/jbd/recovery.c   |    2 +-
 include/linux/jbd.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff -puN fs/jbd/recovery.c~jbd-make-journal_do_submit_data-static fs/jbd/recovery.c
--- a/fs/jbd/recovery.c~jbd-make-journal_do_submit_data-static
+++ a/fs/jbd/recovery.c
@@ -46,7 +46,7 @@ static int scan_revoke_records(journal_t
 #ifdef __KERNEL__
 
 /* Release readahead buffers after use */
-void journal_brelse_array(struct buffer_head *b[], int n)
+static void journal_brelse_array(struct buffer_head *b[], int n)
 {
 	while (--n >= 0)
 		brelse (b[n]);
diff -puN include/linux/jbd.h~jbd-make-journal_do_submit_data-static include/linux/jbd.h
--- a/include/linux/jbd.h~jbd-make-journal_do_submit_data-static
+++ a/include/linux/jbd.h
@@ -977,7 +977,6 @@ extern void	   journal_write_revoke_reco
 extern int	journal_set_revoke(journal_t *, unsigned long, tid_t);
 extern int	journal_test_revoke(journal_t *, unsigned long, tid_t);
 extern void	journal_clear_revoke(journal_t *);
-extern void	journal_brelse_array(struct buffer_head *b[], int n);
 extern void	journal_switch_revoke_table(journal_t *journal);
 
 /*
_

Patches currently in -mm which might be from shaggy@xxxxxxxxxxxxxx are

origin.patch
git-cifs.patch
git-jfs.patch
fs-jfs-conversion-to-generic-boolean.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux