[Devel] Re: [PATCH v2 2/4] NFS: release per-net clients lock before calling PipeFS dentries creation

2012-02-27 Thread Stanislav Kinsbursky
27.02.2012 19:59, David Laight пишет: spin_lock(&nn->nfs_client_lock); - list_for_each_entry(clp,&nn->nfs_client_list, cl_share_link) { + list_for_each_entry_safe(clp, tmp,&nn->nfs_client_list, cl_share_link) { if (clp->rpc_ops !=&nfs_v4_clientops)

[Devel] RE: [PATCH v2 2/4] NFS: release per-net clients lock before calling PipeFS dentries creation

2012-02-27 Thread David Laight
> spin_lock(&nn->nfs_client_lock); > - list_for_each_entry(clp, &nn->nfs_client_list, cl_share_link) { > + list_for_each_entry_safe(clp, tmp, &nn->nfs_client_list, cl_share_link) { > if (clp->rpc_ops != &nfs_v4_clientops) > continue; > +