[merged] fs-bufferc-remove-redundant-initialization-in-alloc_page_buffers.patch removed from -mm tree

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

 



The patch titled
     Subject: fs/buffer.c: remove redundant initialization in alloc_page_buffers()
has been removed from the -mm tree.  Its filename was
     fs-bufferc-remove-redundant-initialization-in-alloc_page_buffers.patch

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

------------------------------------------------------
From: Yan Hong <clouds.yan@xxxxxxxxx>
Subject: fs/buffer.c: remove redundant initialization in alloc_page_buffers()

buffer_head comes from kmem_cache_zalloc(), no need to zero its fields.

Signed-off-by: Yan Hong <clouds.yan@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/buffer.c |    3 ---
 1 file changed, 3 deletions(-)

diff -puN fs/buffer.c~fs-bufferc-remove-redundant-initialization-in-alloc_page_buffers fs/buffer.c
--- a/fs/buffer.c~fs-bufferc-remove-redundant-initialization-in-alloc_page_buffers
+++ a/fs/buffer.c
@@ -849,13 +849,10 @@ try_again:
 		if (!bh)
 			goto no_grow;
 
-		bh->b_bdev = NULL;
 		bh->b_this_page = head;
 		bh->b_blocknr = -1;
 		head = bh;
 
-		bh->b_state = 0;
-		atomic_set(&bh->b_count, 0);
 		bh->b_size = size;
 
 		/* Link the buffer to its page */
_

Patches currently in -mm which might be from clouds.yan@xxxxxxxxx are

origin.patch
fs-block_devc-need-not-to-check-inode-i_bdev-in-bd_forget.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