Skip to content
Commit 8e6c0332 authored by Steve French's avatar Steve French
Browse files

[CIFS] fix oops in cifs_lookup during net boot



Fixes bugzilla.kernel.org bug number 14641

Lookup called during network boot (network root filesystem
for diskless workstation) has case where nd is null in
lookup.  This patch fixes that in cifs_lookup.

(Shirish noted that 2.6.30 and 2.6.31 stable need the same check)

Signed-off-by: default avatarShirish Pargaonkar <shirishp@us.ibm.com>
Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Tested-by: default avatarVladimir Stavrinov <vs@inist.ru>
CC: Stable <stable@kernel.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent ac50e950
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment