linux/drivers/staging
Oleg Drokin cd15dd6ef4 staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
I have been having a lot of unexplainable crashes in osc_lru_shrink
lately that I could not see a good explanation for and then I found
this patch that slip under the radar somehow that incorrectly
converted while loop for lru list iteration into
list_for_each_entry_safe totally ignoring that in the body of
the loop we drop spinlocks guarding this list and move list entries
around.
Not sure why it was not showing up right away, perhaps some of the
more recent LRU changes committed caused some extra pressure on this
code that finally highlighted the breakage.

Reverts: 8adddc36b1 ("staging: lustre: osc: Use list_for_each_entry_safe")
CC: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Cc: stable <stable@vger.kernel.org> # 4.6+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-12-07 11:41:16 +01:00
..
android staging: android: ashmem: clean up range inline functions 2016-12-06 10:18:07 +01:00
board
clocking-wizard staging: clocking-wizard: Fix incorrect type of speed grade 2016-10-25 09:54:32 +02:00
comedi Staging: comedi: kcomedilib: Add module_init/exit function 2016-12-06 10:08:01 +01:00
dgnc staging: dgnc: fix unnamed parameter 2016-12-06 10:18:07 +01:00
emxx_udc staging: emxx_udc: emxx_udc.c Align parenthesis 2016-11-23 10:05:39 +01:00
fbtft staging: fbtft: Fix 'line over 80 characters' 2016-11-10 13:55:02 +01:00
fsl-mc Staging: fsl-mc: include: mc: Kernel type 'int' preferred over 's16' 2016-11-15 11:01:54 +01:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x staging: gdm724x: Remove one blank line in sequence 2016-11-29 21:57:15 +01:00
goldfish
greybus staging: Greybus: Remove unnecessary braces for single statement block 2016-11-19 14:23:09 +01:00
gs_fpgaboot Staging: gs_fpgaboot: Use octal permissions '0444' 2016-10-25 09:40:44 +02:00
i4l staging: i4l: pcbit: remove duplicated include from capi.c 2016-10-25 09:59:48 +02:00
iio staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
ks7010 Staging: ks7010: ks7010_stio.h: fixed coding style error 2016-12-06 10:20:03 +01:00
lustre staging/lustre/osc: Revert erroneous list_for_each_entry_safe use 2016-12-07 11:41:16 +01:00
media Merge 4.9-rc5 into staging-next 2016-11-14 08:53:56 +01:00
most staging: most: Eliminate usage of symbolic permissions 2016-11-29 21:57:14 +01:00
mt29f_spinand
netlogic Staging: netlogic: Compress return logic into one line 2016-10-16 10:27:33 +02:00
nvec staging: nvec: remove managed resource from PS2 driver 2016-11-07 11:48:25 +01:00
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon Revert "staging: olpc_dcon: Replace a bit shift by a use of BIT." 2016-09-18 13:09:50 +02:00
rtl8188eu Staging: rtl8188eu: Fix code indention found by checkpatch. 2016-10-30 11:09:03 -04:00
rtl8192e staging: rtl8192e: Added new line after declaration 2016-11-15 11:01:54 +01:00
rtl8192u staging: rtl8192u: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
rtl8712 Staging:rtl8712: Fixed coding style issue 2016-12-06 10:18:07 +01:00
rts5208 staging: rts5208: rtsx.c: Fix invalid use of sizeof in rtsx_probe() 2016-10-25 09:59:48 +02:00
skein staging: skein: threefish_block.c Remove blank lines 2016-11-21 11:10:56 +01:00
sm750fb staging: sm750fb: fix tabstop style warning 2016-11-30 12:59:53 +01:00
speakup staging: speakup: speakup_soft.c Align parenthesis 2016-11-23 10:07:32 +01:00
unisys staging: unisys: visorbus: Remove two passthrough postcode macros 2016-12-01 09:58:48 +01:00
vc04_services staging: vc04_services: add HAS_DMA dependancy 2016-11-17 09:39:59 +01:00
vme staging: vme: vme_user.c Spelling corrections 2016-11-19 14:21:58 +01:00
vt6655 staging: vt6655: Add spaces around + 2016-12-06 10:18:07 +01:00
vt6656 staging: vt6656: Fix coding style warnings on Block comments 2016-11-21 11:13:14 +01:00
wilc1000 staging: wilc1000: simplify vif[i]->ndev accesses 2016-11-16 18:30:22 +01:00
wlan-ng Staging: wlan-ng: hfa384x_usb.c Fixed too long code line warnings. 2016-12-06 10:18:07 +01:00
xgifb staging: xgifb: XGI_main.h Align data columns 2016-11-19 14:17:51 +01:00
Kconfig staging: slicoss: remove the staging driver 2016-12-06 18:18:30 +01:00
Makefile staging: slicoss: remove the staging driver 2016-12-06 18:18:30 +01:00