Subject: + ncpfs-cleanup-indenting-in-ncp_lookup.patch added to -mm tree To: dan.carpenter@xxxxxxxxxx,chiluk@xxxxxxxxxxxxx,petr@xxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 18 Feb 2014 13:43:22 -0800 The patch titled Subject: fs/ncpfs/dir.c: fix indenting in ncp_lookup() has been added to the -mm tree. Its filename is ncpfs-cleanup-indenting-in-ncp_lookup.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ncpfs-cleanup-indenting-in-ncp_lookup.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ncpfs-cleanup-indenting-in-ncp_lookup.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Cc: Petr Vandrovec <petr@xxxxxxxxxxxxxx> Cc: Dave Chiluk <chiluk@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ncpfs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/ncpfs/dir.c~ncpfs-cleanup-indenting-in-ncp_lookup fs/ncpfs/dir.c --- a/fs/ncpfs/dir.c~ncpfs-cleanup-indenting-in-ncp_lookup +++ a/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 dan.carpenter@xxxxxxxxxx are origin.patch drivers-scsi-megaraid-megaraid_mmc-missing-bounds-check-in-mimd_to_kioc.patch ncpfs-cleanup-indenting-in-ncp_lookup.patch drivers-misc-sgi-gru-grukdumpc-cleanup-gru_dump_context-a-little.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html