[PATCH] Teach cifs about network namespaces (take 3)

Jeff Layton jlayton at redhat.com
Thu Jan 13 11:02:33 PST 2011


On Thu, 13 Jan 2011 12:55:04 -0600
Rob Landley <rlandley at parallels.com> wrote:

> From: Rob Landley <rlandley at parallels.com>
> 
> Teach cifs about network namespaces, so mounting uses adresses/routing
> visible from the container rather than from init context.
> 
> Signed-off-by: Rob Landley <rlandley at parallels.com>
> ---
> 
> Now using net_eq(), with the initialization moved up so the error path doesn't
> dereference a null on the put.
> 
>  fs/cifs/cifsglob.h |   33 +++++++++++++++++++++++++++++++++
>  fs/cifs/connect.c  |   12 ++++++++++--
>  2 files changed, 43 insertions(+), 2 deletions(-)
> 

Looks good to me:

Reviewed-by: Jeff Layton <jlayton at redhat.com>


More information about the Containers mailing list