Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
Thanks, Jeff. Will fix. 13.08.2012 15:35, Jeff Layton пишет: On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky wrote: When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point

Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Jeff Layton
On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky wrote: > When child reaper exits, it can destroy mount namespace it belong to, and if > there are NFS mounts inside, then it will try to umount them. But in this > point current->nsproxy is set to NULL and all namespaces will be destroyed

[PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point current->nsproxy is set to NULL and all namespaces will be destroyed one by one. I.e. we can't dereference current->nsproxy to obtain uts

[PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point current-nsproxy is set to NULL and all namespaces will be destroyed one by one. I.e. we can't dereference current-nsproxy to obtain uts

Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Jeff Layton
On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But in this point current-nsproxy is set to NULL and all

Re: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation

2012-08-13 Thread Stanislav Kinsbursky
Thanks, Jeff. Will fix. 13.08.2012 15:35, Jeff Layton пишет: On Mon, 13 Aug 2012 15:21:56 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: When child reaper exits, it can destroy mount namespace it belong to, and if there are NFS mounts inside, then it will try to umount them. But