CIFS: Fix ERR_PTR dereference in cifs_get_root
authorPavel Shilovsky <piastryyy@gmail.com>
Sun, 21 Aug 2011 15:30:15 +0000 (19:30 +0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 20 Sep 2011 02:15:03 +0000 (21:15 -0500)
move it to the beginning of the loop.

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found