fs-bufferc-use-attach-detach_page_private.patch removed from -mm tree
The patch titled
Subject: fs/buffer.c: use attach/detach_page_private
has been removed from the -mm tree. Its filename was
fs-bufferc-use-attach-detach_page_private.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Guoqing Jiang <[email protected]>
Subject: fs/buffer.c: use attach/detach_page_private
Since the new pair function is introduced, we can call them to clean the code in buffer.c.
Signed-off-by Guoqing Jiang <[email protected]>
Reviewed-by Andrew Morton <[email protected]>
Cc Alexander Viro <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/buffer.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-)
fs/buffer.c renamed from fs/buffer.c~fs-bufferc-use-attach-detach_page_private +4 -12
@@ -123,14 +123,6 @@ void __wait_on_buffer(struct buffer_head }EXPORT_SYMBOL (__wait_on_buffer); -static void -__clear_page_buffers (struct page *page) -{ -ClearPagePrivate (page); -set_page_private (page,0 ); -put_page (page); -} -static void buffer_io_error (struct buffer_head *bh,char *msg) {if (!test_bit (BH_Quiet, &bh->b_state))
@@ -906,7 +898,7 @@ link_dev_buffers(struct page *page, stru bh = bh->b_this_page; }while (bh); tail->b_this_page = head; -attach_page_buffers (page, head); +attach_page_private (page, head); }static sector_t blkdev_max_block (struct block_device *bdev,unsigned int size)
@@ -1587,7 +1579,7 @@ void create_empty_buffers(struct page *p bh = bh->b_this_page; }while (bh != head); } -attach_page_buffers (page, head); +attach_page_private (page, head);spin_unlock (&page->mapping->private_lock); }EXPORT_SYMBOL (create_empty_buffers);
@@ -2574,7 +2566,7 @@ static void attach_nobh_buffers(struct p bh->b_this_page = head; bh = bh->b_this_page; }while (bh != head); -attach_page_buffers (page, head); +attach_page_private (page, head);spin_unlock (&page->mapping->private_lock); }
@@ -3234,7 +3226,7 @@ drop_buffers(struct page *page, struct b bh = next; }while (bh != head); *buffers_to_free = head; -__clear_page_buffers (page); +detach_page_private (page);return 1 ; failed:return 0 ;
_
Patches currently in -mm which might be from [email protected] are