From: Dan Carpenter Date: Tue, 8 Apr 2014 23:04:19 +0000 (-0700) Subject: fs/ncpfs/dir.c: fix indenting in ncp_lookup() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ffddc5fd19b219f557fd4a81168ce8784a4faced;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/ncpfs/dir.c: fix indenting in ncp_lookup() My static checker suggests adding curly braces here. Probably that was the intent, but actually the code works the same either way. I've just changed the indenting and left the code as-is. Signed-off-by: Dan Carpenter Cc: Petr Vandrovec Acked-by: Dave Chiluk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 91441de2529c..08b8ea8c353e 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c @@ -849,8 +849,8 @@ static struct dentry *ncp_lookup(struct inode *dir, struct dentry *dentry, unsig dentry->d_name.len, 1); if (!res) res = ncp_lookup_volume(server, __name, &(finfo.i)); - if (!res) - ncp_update_known_namespace(server, finfo.i.volNumber, NULL); + if (!res) + ncp_update_known_namespace(server, finfo.i.volNumber, NULL); } else { res = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry->d_name.len, !ncp_preserve_case(dir));