From: Randy Dunlap <[email protected]>

Fix build error when F2FS_FS_COMPRESSION is not set/enabled.
This label is needed in either case.

../fs/f2fs/data.c: In function ‘f2fs_mpage_readpages’:
../fs/f2fs/data.c:2327:5: error: label ‘next_page’ used but not defined
     goto next_page;

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Cc: Chao Yu <[email protected]>
Cc: [email protected]
---
 fs/f2fs/data.c |    2 --
 1 file changed, 2 deletions(-)

--- linux-next-20200630.orig/fs/f2fs/data.c
+++ linux-next-20200630/fs/f2fs/data.c
@@ -2366,9 +2366,7 @@ set_error_page:
                        zero_user_segment(page, 0, PAGE_SIZE);
                        unlock_page(page);
                }
-#ifdef CONFIG_F2FS_FS_COMPRESSION
 next_page:
-#endif
                if (rac)
                        put_page(page);
 



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to