linux/drivers/staging
Alexander Boyko 371991353a staging/lustre/mdc: fix panic at mdc_free_open()
Assertion was happened for open request when rq_replay is set
to 1.
    ASSERTION(mod->mod_open_req->rq_replay == 0)
But this situation is not fatal for client, and could happened
when mdc_close() failed.
The fix allow to free such requests. If mdc_close fail, MDS doesn`t
receive close request from client. And in a worst case client would
be evicted.

The test recreates issue when mdc_close failed and
client asserts:
   ASSERTION( mod->mod_open_req->rq_replay == 0 ) failed

Signed-off-by: Alexander Boyko <alexander.boyko@seagate.com>
Seagate-bug-id: MRP-3156
Reviewed-on: http://review.whamcloud.com/17495
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5282
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-01 17:25:46 +02:00
..
android staging: ion: remove __GFP_NOWARN when use low order gfp flags 2016-08-21 17:40:47 +02:00
board staging: board: line over 80 characters 2016-04-29 17:58:02 -07:00
clocking-wizard
comedi Staging: comedi: s626: fix line over 80 characters issue 2016-08-21 17:02:42 +02:00
dgnc staging: dgnc: check the type of print before calling 2016-09-01 17:21:14 +02:00
emxx_udc staging: emxx_udc: allow modular build 2016-07-26 08:47:08 -07:00
fbtft staging: fbtft: This patch fixes the checkpatch.pl warning 2016-08-21 17:52:47 +02:00
fsl-mc staging: fsl-mc: make bus/mc-bus explicitly non-modular 2016-08-21 18:32:26 +02:00
fwserial Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
gdm724x Staging: gdm724x: gdm_tty: Fixed a checkpatch check issue. 2016-08-21 18:04:44 +02:00
goldfish
gs_fpgaboot Staging: gs_fpgaboot: remove blank line in io.c 2016-03-29 12:43:14 -07:00
i4l staging: i4l: act2000: capi: Fix checkpatch warning 2016-08-31 09:24:41 +02:00
iio First round of new features, device support and cleanups for IIO in the 4.9 cycle. 2016-08-23 17:50:16 -04:00
ks7010 staging: ks7010: don't print skb->dev->name if skb is null 2016-08-21 18:12:57 +02:00
lustre staging/lustre/mdc: fix panic at mdc_free_open() 2016-09-01 17:25:46 +02:00
media staging: media: lirc: lirc_sasem: don't print error when allocating urb fails 2016-08-15 15:56:33 +02:00
most staging: most: aim-cdev: destroy ida struct in case of exception 2016-08-22 16:41:00 -04:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic
nvec
octeon net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings 2016-08-21 18:02:32 +02:00
octeon-usb staging: octeon-usb: correct driver name in Kconfig help text 2016-08-30 19:09:47 +02:00
olpc_dcon Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00
rtl8188eu staging: r8188eu: Fix scheduling while atomic splat 2016-08-21 18:29:41 +02:00
rtl8192e rtl8192e: Replace semaphore ips_sem with mutex 2016-08-21 18:22:31 +02:00
rtl8192u staging/rtl8192u: use s8 instead of char 2016-08-21 18:21:28 +02:00
rtl8712 staging: r8712u: Handle some false positives from kmemleak 2016-08-21 18:28:49 +02:00
rtl8723au Staging: rtl8723au: rtw_ieee80211: Fixed operators spacing style issues 2016-08-21 18:35:46 +02:00
rts5208 staging: rts5208: Change data type to unsigned int. 2016-08-21 18:37:36 +02:00
skein staging: skein: cleanup: align code to parentheses 2016-05-03 14:07:11 -07:00
slicoss staging: slicoss: simplify struct for statistics 2016-08-21 17:59:45 +02:00
sm750fb staging: sm750fb: Fix block comment style 2016-08-21 18:08:29 +02:00
speakup staging: speakup: ensure we do not overrun synths array 2016-08-15 19:14:54 +02:00
unisys staging: unisys: visorinput: make lock_visor_dev a mutex 2016-08-15 20:44:26 +02:00
vme Staging and IIO driver update for 4.7-rc1 2016-05-20 22:20:48 -07:00
vt6655 staging: vt6655: power.c: Fix checkpatch warning 2016-08-21 18:11:41 +02:00
vt6656 staging: vt6656: usbpipe.c: Fix checkpatch warning 2016-08-30 19:09:47 +02:00
wilc1000 staging: wilc1000: fix error handling in wilc_debugfs_init() 2016-08-21 17:27:16 +02:00
wlan-ng Staging: wlan-ng: fix comparison to NULL issue. 2016-08-21 17:31:46 +02:00
xgifb staging: xgifb: fix block comments 2016-03-30 21:34:55 -07:00
Kconfig staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00
Makefile staging: ks7010: add driver from Nanonote extra-repository 2016-06-07 22:42:53 -07:00