[PATCH RESEND] f2fs: optimize f2fs_write_cache_pages

2015-07-16 Thread Tiezhu Yang
The if statement "goto continue_unlock" is exactly the same when each if condition is true that is depended on the value of both "step" and "is_cold_data(page)" are 0 or 1. That means when the value of "step" equals to "is_cold_data(page)", the if condition is true and the if statement "goto

[PATCH RESEND] f2fs: optimize f2fs_write_cache_pages

2015-07-16 Thread Tiezhu Yang
The if statement goto continue_unlock is exactly the same when each if condition is true that is depended on the value of both step and is_cold_data(page) are 0 or 1. That means when the value of step equals to is_cold_data(page), the if condition is true and the if statement goto continue_unlock