Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
As with 6187639, an open directory may have a NULL private_data pointer prior to readdir. CIFS_ENUMERATE_SNAPSHOTS must check for this before dereference. Fixes: 834170c ("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>
- Loading branch information