Skip to contentSkip to conversation

ncpfs-cleanup-indenting-in-ncp_lookup.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 9, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [merged] ncpfs-cleanup-indenting-in-ncp_lookup.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 09 Apr 2014 10:55:47 -0700

The patch titled
Subject: fs/ncpfs/dir.c: fix indenting in ncp_lookup()
has been removed from the -mm tree. Its filename was
ncpfs-cleanup-indenting-in-ncp_lookup.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: 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.

---

 fs/ncpfs/dir.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ncpfs/dir.c renamed from fs/ncpfs/dir.c~ncpfs-cleanup-indenting-in-ncp_lookup +2 -2
diff -puN fs/ncpfs/dir.c~ncpfs-cleanup-indenting-in-ncp_lookup fs/ncpfs/dir.c
@@ -849,8 +849,8 @@ static struct dentry *ncp_lookup(struct
 				 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));

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch