David Disseldorp 6026685de3 cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
As with 618763958b22, an open directory may have a NULL private_data
pointer prior to readdir. CIFS_ENUMERATE_SNAPSHOTS must check for this
before dereference.

Fixes: 834170c85978 ("Enable previous version support")
Signed-off-by: David Disseldorp <ddiss@suse.de>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
2017-05-03 09:59:20 -05:00
..
2016-10-13 19:48:11 -05:00
2017-03-02 23:11:54 -06:00
2017-04-07 08:04:41 -05:00
2013-11-08 05:57:46 +09:00
2016-12-15 00:21:37 -06:00
2017-01-14 14:58:29 -06:00
2007-06-05 18:30:44 +00:00
2017-03-02 23:13:37 -06:00
2017-04-07 08:04:40 -05:00
2017-04-07 08:04:40 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00