Message ID | 1403779012-12350-1-git-send-email-luis.henriques@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index f6db66d8f647..928bb8c1680e 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -2178,6 +2178,7 @@ nfs_remount(struct super_block *sb, int *flags, char *raw_data) data->timeo = 10U * nfss->client->cl_timeout->to_initval / HZ; data->nfs_server.port = nfss->port; data->nfs_server.addrlen = nfss->nfs_client->cl_addrlen; + data->net = current->nsproxy->net_ns; memcpy(&data->nfs_server.address, &nfss->nfs_client->cl_addr, data->nfs_server.addrlen);