mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Petr Vandrovec <[email protected]> Acked-by: Dave Chiluk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
15a03ac6f8
commit
ffddc5fd19
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue