blob: 923cdc2bbacceb8f36e3ff07add930543939d1bf [file] [log] [blame]
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-remove-cleancache-fix
remove now-unreachable code
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/f2fs/data.c | 6 ------
1 file changed, 6 deletions(-)
--- a/fs/f2fs/data.c~mm-remove-cleancache-fix
+++ a/fs/f2fs/data.c
@@ -2089,12 +2089,6 @@ submit_and_realloc:
ClearPageError(page);
*last_block_in_bio = block_nr;
goto out;
-confused:
- if (bio) {
- __submit_bio(F2FS_I_SB(inode), bio, DATA);
- bio = NULL;
- }
- unlock_page(page);
out:
*bio_ret = bio;
return ret;
_