LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] cifs: make connect_to_dfs_path() static
@ 2008-03-30 22:39 Adrian Bunk
2008-03-31 7:42 ` Q (Igor Mammedov)
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-03-30 22:39 UTC (permalink / raw)
To: Igor Mammedov, Steve French; +Cc: linux-cifs-client, linux-kernel
connect_to_dfs_path() can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
fs/cifs/cifsproto.h | 3 ---
fs/cifs/connect.c | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
87f02b93ed23ec4229a006d5866745473cb4c15e diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 7e5e0e7..c9dd2ca 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -154,9 +154,6 @@ extern int CIFSGetDFSRefer(const int xid, struct cifsSesInfo *ses,
unsigned int *number_of_UNC_in_array,
const struct nls_table *nls_codepage, int remap);
-extern int connect_to_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
- const char *old_path,
- const struct nls_table *nls_codepage, int remap);
extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
const char *old_path,
const struct nls_table *nls_codepage,
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 8dbfa97..61b2b0a 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1405,7 +1405,7 @@ find_unc(__be32 new_target_ip_addr, char *uncName, char *userName)
return NULL;
}
-int
+static int
connect_to_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
const char *old_path, const struct nls_table *nls_codepage,
int remap)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] cifs: make connect_to_dfs_path() static
2008-03-30 22:39 [2.6 patch] cifs: make connect_to_dfs_path() static Adrian Bunk
@ 2008-03-31 7:42 ` Q (Igor Mammedov)
0 siblings, 0 replies; 2+ messages in thread
From: Q (Igor Mammedov) @ 2008-03-31 7:42 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Steve French, linux-cifs-client, linux-kernel
FYI: connect_to_dfs_path() probably will be removed when I complete dfs root
mounting functionality.
On Mon, Mar 31, 2008 at 2:39 AM, Adrian Bunk <bunk@kernel.org> wrote:
> connect_to_dfs_path() can now become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> fs/cifs/cifsproto.h | 3 ---
> fs/cifs/connect.c | 2 +-
> 2 files changed, 1 insertion(+), 4 deletions(-)
>
> 87f02b93ed23ec4229a006d5866745473cb4c15e diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
> index 7e5e0e7..c9dd2ca 100644
> --- a/fs/cifs/cifsproto.h
> +++ b/fs/cifs/cifsproto.h
> @@ -154,9 +154,6 @@ extern int CIFSGetDFSRefer(const int xid, struct cifsSesInfo *ses,
> unsigned int *number_of_UNC_in_array,
> const struct nls_table *nls_codepage, int remap);
>
> -extern int connect_to_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
> - const char *old_path,
> - const struct nls_table *nls_codepage, int remap);
> extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
> const char *old_path,
> const struct nls_table *nls_codepage,
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 8dbfa97..61b2b0a 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -1405,7 +1405,7 @@ find_unc(__be32 new_target_ip_addr, char *uncName, char *userName)
> return NULL;
> }
>
> -int
> +static int
> connect_to_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
> const char *old_path, const struct nls_table *nls_codepage,
> int remap)
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-31 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 22:39 [2.6 patch] cifs: make connect_to_dfs_path() static Adrian Bunk
2008-03-31 7:42 ` Q (Igor Mammedov)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).