Commit c2dc7e5
iomap: move the PF_MEMALLOC check to iomap_writepages
The iomap writepage implementation has been removed in commit
478af19 ("iomap: remove iomap_writepage") and this code is now only
called through ->writepages which never happens from memory reclaim.
Nove the check from iomap_do_writepage to iomap_writepages so that is
only called once per ->writepage invocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231207072710.176093-5-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 432acd5 commit c2dc7e5
1 file changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1902 | 1902 | | |
1903 | 1903 | | |
1904 | 1904 | | |
1905 | | - | |
1906 | | - | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
1914 | | - | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | 1905 | | |
1920 | 1906 | | |
1921 | 1907 | | |
| |||
1981 | 1967 | | |
1982 | 1968 | | |
1983 | 1969 | | |
1984 | | - | |
1985 | | - | |
1986 | 1970 | | |
1987 | 1971 | | |
1988 | 1972 | | |
| |||
1995 | 1979 | | |
1996 | 1980 | | |
1997 | 1981 | | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1998 | 1990 | | |
1999 | 1991 | | |
2000 | 1992 | | |
| |||
0 commit comments