+ ncpfs-cleanup-indenting-in-ncp_lookup.patch added to -mm tree
Subject: + ncpfs-cleanup-indenting-in-ncp_lookup.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
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 <[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
@@ -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 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