linux/drivers/staging
Gao Xiang 9248fce714 staging: erofs: revisit the page submission flow
Previously, the submission flow works with cached compressed pages
reclaim path in a tricky way, and it could be buggy if the reclaim
path changes later without such tricky restrictions. For example,
currently one PagePrivate(page) is evaluated without taking page
lock (it only follows a wait_for_page_locked which closes such race)
and no handling solves the potential page truncation case.

In addition, it's also full of #ifdefs in the function, which
is hard to understand and maintain. this patch fixes them all.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-12-07 17:10:48 +01:00
..
android staging: android: ion: Remove unused header files 2018-12-05 09:39:45 +01:00
axis-fifo staging: axis-fifo: Split line to stay in 80 characters. 2018-11-20 10:59:30 +01:00
board staging: board: Replace license boilerplate with SPDX identifiers 2018-05-06 19:11:23 -07:00
clocking-wizard staging: clocking-wizard: match parenthesis indentation 2018-10-09 14:57:33 +02:00
comedi staging: comedi: drivers: Cleanup malformed licence identifier 2018-12-05 09:44:05 +01:00
emxx_udc staging: emxx_udc: Remove cast and move all in one line. 2018-12-05 09:44:10 +01:00
erofs staging: erofs: revisit the page submission flow 2018-12-07 17:10:48 +01:00
fbtft staging: fbtft: Prefer using the BIT macro 2018-10-03 11:36:08 -07:00
fsl-dpaa2 Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
fwserial fwserial: switch to ->[sg]et_serial() 2018-09-14 11:19:47 -04:00
gasket staging: gasket: formatting fixes 2018-11-12 14:43:15 -08:00
gdm724x staging: gdm724x: redundant variables idProduct and idVendor 2018-07-11 13:12:34 +02:00
goldfish staging: goldfish: Add SPDX license identifier. 2018-11-07 12:27:33 +01:00
greybus staging: greybus: Added space between string concatenated 2018-12-05 09:47:02 +01:00
gs_fpgaboot Staging: gs_fpgaboot: remove FSF's mailing address from io.h 2018-01-08 16:47:23 +01:00
iio First set of new device support, features and cleanups for IIO in the 4.21 cycle 2018-11-22 09:39:45 +01:00
ks7010 staging: ks7010: remove unnecessary blank line 2018-11-07 12:35:10 +01:00
media Merge 4.20-rc5 into staging-next 2018-12-03 07:55:28 +01:00
most staging: most: use format specifier "%s" in snprintf 2018-11-09 04:34:12 -08:00
mt29f_spinand mtd: rawnand: Deprecate ->{set,get}_features() hooks 2018-10-03 11:12:25 +02:00
mt7621-dma Merge 4.20-rc5 into staging-next 2018-12-03 07:55:28 +01:00
mt7621-dts staging: mt7621-dts: remove sysctl registers from pcie bindings 2018-11-26 20:59:05 +01:00
mt7621-eth Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
mt7621-mmc staging: mt7621-mmc: Add blank line after declaration 2018-11-07 12:27:33 +01:00
mt7621-pci staging: mt7621-pci: add comment clarifying inverted reset lines 2018-12-05 09:39:45 +01:00
mt7621-pinctrl staging: mt7621-pinctrl: fix uninitialized variable ngroups 2018-11-11 11:47:38 -08:00
mt7621-spi staging: mt7621-spi: Remove unnecessary braces {} from single statement if block. 2018-06-17 09:05:12 +02:00
netlogic net: Add generic ndo_select_queue functions 2018-07-09 13:15:34 -07:00
nvec Revert "staging: nvec: Augment TODO file with GPIO work item" 2018-04-23 18:49:51 +02:00
octeon staging: octeon-ethernet: delete redundant include 2018-12-06 16:12:49 +01:00
octeon-usb staging: octeon-usb: use a helper function to set the DMA mask 2018-12-05 09:47:02 +01:00
olpc_dcon staging: olpc_dcon: olpc_dcon_xo_1.c: Switch to the gpio descriptor interface 2018-11-08 03:59:47 -08:00
pi433 staging: pi433: add missing call to cdev_del() 2018-12-05 09:39:45 +01:00
rtl8188eu staging: rtl8188eu: remove unused code in rtw_cmd.c 2018-12-06 16:12:19 +01:00
rtl8192e staging: rtl8192e: Add SPDX-License-Identifier - Style 2018-11-05 14:16:33 +01:00
rtl8192u staging: rtl8192u: rename struct name _rt_firmare_seg_container 2018-11-07 12:35:10 +01:00
rtl8712 Staging: rtl8712: fix small typo 2018-11-07 13:07:26 +01:00
rtl8723bs Merge 4.20-rc5 into staging-next 2018-12-03 07:55:28 +01:00
rtlwifi staging: rtlwifi: fix spelling mistake "disnabled" -> "disabled" 2018-12-05 09:39:45 +01:00
rts5208 Staging: rts5208: Capitalise preprocessor variable names 2018-11-05 14:16:33 +01:00
sm750fb staging: sm750fb: Add spaces around '+' 2018-11-07 12:35:10 +01:00
speakup staging: speakup: i18n: fix spelling mistake "phoneticly" -> "phonetically" 2018-12-05 09:39:45 +01:00
unisys treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
vboxvideo staging: vboxvideo: Rename uint32_t type to u32 2018-11-23 10:58:47 +01:00
vc04_services staging: vchiq_arm: add __user pointer annotations 2018-12-05 09:44:05 +01:00
vme staging: vme: vme_user: Fix some error handling paths in 'vme_user_probe()' 2018-03-23 15:55:21 +01:00
vt6655 staging: vt6655: fix small typo 2018-11-07 13:07:26 +01:00
vt6656 staging: vt6655: remove some redundant variables 2018-07-11 14:47:08 +02:00
wilc1000 staging: wilc1000: correct inconsistent indenting 2018-12-05 09:51:15 +01:00
wlan-ng staging: wlan-ng: remove unused variable in prism2fw.c 2018-11-20 10:59:30 +01:00
xgifb staging: xgifb: clean an indentation issue 2018-11-07 12:35:10 +01:00
Kconfig staging: dgnc: delete the driver 2018-10-02 15:14:14 -07:00
Makefile staging: dgnc: delete the driver 2018-10-02 15:14:14 -07:00