Commit 0638f28
f2fs: simplify return value handling in f2fs_fsync_node_pages
Always assign ret where the error happens, and jump to out instead
of multiple loop exit conditions to prepare for changes in the
__write_node_folio calling convention.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 84c5d16 commit 0638f28
1 file changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
1874 | | - | |
| 1874 | + | |
1875 | 1875 | | |
1876 | 1876 | | |
1877 | | - | |
1878 | | - | |
| 1877 | + | |
1879 | 1878 | | |
1880 | 1879 | | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
1884 | 1883 | | |
| 1884 | + | |
| 1885 | + | |
1885 | 1886 | | |
1886 | 1887 | | |
1887 | 1888 | | |
| 1889 | + | |
1888 | 1890 | | |
1889 | | - | |
| 1891 | + | |
1890 | 1892 | | |
1891 | 1893 | | |
1892 | 1894 | | |
1893 | 1895 | | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | 1896 | | |
1898 | | - | |
| 1897 | + | |
1899 | 1898 | | |
1900 | 1899 | | |
1901 | 1900 | | |
| |||
1907 | 1906 | | |
1908 | 1907 | | |
1909 | 1908 | | |
1910 | | - | |
| 1909 | + | |
1911 | 1910 | | |
1912 | 1911 | | |
1913 | 1912 | | |
| |||
0 commit comments