projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'platform-drivers-x86-v5.14-3' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
fs
/
cifs
/
connect.c
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index
1b04d6e
..
3781eee
100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-220,7
+220,7
@@
cifs_reconnect(struct TCP_Server_Info *server)
#ifdef CONFIG_CIFS_DFS_UPCALL
struct super_block *sb = NULL;
struct cifs_sb_info *cifs_sb = NULL;
#ifdef CONFIG_CIFS_DFS_UPCALL
struct super_block *sb = NULL;
struct cifs_sb_info *cifs_sb = NULL;
- struct dfs_cache_tgt_list tgt_list =
{0}
;
+ struct dfs_cache_tgt_list tgt_list =
DFS_CACHE_TGT_LIST_INIT(tgt_list)
;
struct dfs_cache_tgt_iterator *tgt_it = NULL;
#endif
struct dfs_cache_tgt_iterator *tgt_it = NULL;
#endif
@@
-3130,7
+3130,7
@@
static int do_dfs_failover(const char *path, const char *full_path, struct cifs_
{
int rc;
char *npath = NULL;
{
int rc;
char *npath = NULL;
- struct dfs_cache_tgt_list tgt_list =
{0}
;
+ struct dfs_cache_tgt_list tgt_list =
DFS_CACHE_TGT_LIST_INIT(tgt_list)
;
struct dfs_cache_tgt_iterator *tgt_it = NULL;
struct smb3_fs_context tmp_ctx = {NULL};
struct dfs_cache_tgt_iterator *tgt_it = NULL;
struct smb3_fs_context tmp_ctx = {NULL};