The patch titled fs/nfs/nfs4proc.c: make nfs4_map_errors() static has been added to the -mm tree. Its filename is fs-nfs-nfs4procc-make-nfs4_map_errors-static.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 *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fs/nfs/nfs4proc.c: make nfs4_map_errors() static From: WANG Cong <wangcong@xxxxxxxxx> nfs4_map_errors() can become static. Signed-off-by: WANG Cong <wangcong@xxxxxxxxx> Cc: J. Bruce Fields <bfields@xxxxxxxxxxxx> Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nfs/nfs4_fs.h | 1 - fs/nfs/nfs4proc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/nfs/nfs4_fs.h~fs-nfs-nfs4procc-make-nfs4_map_errors-static fs/nfs/nfs4_fs.h --- a/fs/nfs/nfs4_fs.h~fs-nfs-nfs4procc-make-nfs4_map_errors-static +++ a/fs/nfs/nfs4_fs.h @@ -174,7 +174,6 @@ extern ssize_t nfs4_listxattr(struct den /* nfs4proc.c */ -extern int nfs4_map_errors(int err); extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *); extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct rpc_cred *); extern int nfs4_proc_async_renew(struct nfs_client *, struct rpc_cred *); diff -puN fs/nfs/nfs4proc.c~fs-nfs-nfs4procc-make-nfs4_map_errors-static fs/nfs/nfs4proc.c --- a/fs/nfs/nfs4proc.c~fs-nfs-nfs4procc-make-nfs4_map_errors-static +++ a/fs/nfs/nfs4proc.c @@ -69,7 +69,7 @@ static int _nfs4_proc_lookup(struct inod static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr); /* Prevent leaks of NFSv4 errors into userland */ -int nfs4_map_errors(int err) +static int nfs4_map_errors(int err) { if (err < -1000) { dprintk("%s could not handle NFSv4 error %d\n", _ Patches currently in -mm which might be from wangcong@xxxxxxxxx are origin.patch fs-nfs-nfs4procc-make-nfs4_map_errors-static.patch ipc-clean-up-ipc-shmc.patch ipc-do-not-goto-to-the-next-line.patch ipc-ipc_sysctlc-move-the-definition-of-ipc_auto_callback.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