Message ID | 1296855242-2592-41-git-send-email-andros@netapp.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 842c288..17da633 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -1412,6 +1412,12 @@ static int nfs4_set_client(struct nfs_server *server, goto error; } + /* Cannot mount a DS only server */ + if (is_ds_only_client(clp)) { + error = -ENODEV; + goto error; + } + /* * Query for the lease time on clientid setup or renewal *