Messages in this thread | | | Subject | Re: [PATCH] Fix missing braces in ncpfs:ncp_lookup | From | Joe Perches <> | Date | Wed, 04 Sep 2013 21:17:34 -0700 |
| |
(adding Petr Vandrovec to cc's)
> diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c [] > @@ -857,10 +857,11 @@ static struct dentry *ncp_lookup(struct inode *dir, struct dentry *dentry, unsig > if (ncp_is_server_root(dir)) { > res = ncp_io2vol(server, __name, &len, dentry->d_name.name, > dentry->d_name.len, 1); > - if (!res) > + if (!res) { > res = ncp_lookup_volume(server, __name, &(finfo.i)); > if (!res) > ncp_update_known_namespace(server, finfo.i.volNumber, NULL); > + }
| |