Files
linux/fs
Sachin Prabhu ffc61ccbb9 Initialise mid_q_entry before putting it on the pending queue
A user reported a crash in cifs_demultiplex_thread() caused by an
incorrectly set mid_q_entry->callback() function. It appears that the
callback assignment made in cifs_call_async() was not flushed back to
memory suggesting that a memory barrier was required here. Changing the
code to make sure that the mid_q_entry structure was completely
initialised before it was added to the pending queue fixes the problem.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
2012-07-16 23:57:02 -05:00
..
2012-05-29 23:28:34 -04:00
2012-05-29 23:28:34 -04:00
2012-05-29 23:28:33 -04:00
2012-05-29 23:28:33 -04:00
2012-05-29 23:28:33 -04:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-06-21 14:21:11 -05:00
2012-05-29 16:22:23 -07:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:46 -04:00
…
…
2012-05-29 23:28:41 -04:00
2012-06-01 12:12:00 -04:00
…
2012-05-29 23:28:31 -04:00
2012-03-20 21:29:38 -04:00
…
…
…
2012-05-29 23:28:41 -04:00
…
2012-05-29 23:28:41 -04:00
2012-06-13 21:16:42 +02:00
…
2012-05-29 23:28:29 -04:00
…