nfs: Fix NULL pointer dereference of dev_name