ocfs2-remove-repeated-uptodate-check-for-buffer.patch removed from -mm tree
The patch titled
Subject: ocfs2: remove repeated uptodate check for buffer
has been removed from the -mm tree. Its filename was
ocfs2-remove-repeated-uptodate-check-for-buffer.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wan Jiabing <[email protected]>
Subject: ocfs2: remove repeated uptodate check for buffer
In commit 60f91826ca62 ("buffer: Avoid setting buffer bits that are already set"), function set_buffer_##name was added a test_bit() to check buffer, which is the same as function buffer_##name. The !buffer_uptodate(bh) here is a repeated check. Remove it.
Signed-off-by Wan Jiabing <[email protected]>
Reviewed-by Joseph Qi <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/aops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/ocfs2/aops.c renamed from fs/ocfs2/aops.c~ocfs2-remove-repeated-uptodate-check-for-buffer +1 -2
@@ -632,8 +632,7 @@ int ocfs2_map_page_blocks(struct page *p }if (PageUptodate (page)) { -if (!buffer_uptodate (bh)) -set_buffer_uptodate (bh); +set_buffer_uptodate (bh); } else if (!buffer_uptodate(bh) && !buffer_delay(bh) && !buffer_new(bh) && ocfs2_should_read_blk(inode, page, block_start) &&
_
Patches currently in -mm which might be from [email protected] are