From 561f82a3a24c96fe84fc7ecac11f02b2afd11031 Mon Sep 17 00:00:00 2001
From: Paulo Alcantara <pc@manguebit.com>
Date: Thu, 17 Aug 2023 12:34:03 -0300
Subject: [PATCH] smb: client: rename cifs_dfs_ref.c to namespace.c

The automount code will handle both DFS links and reparse files that
are mount points.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/smb/client/Makefile                        | 2 +-
 fs/smb/client/{cifs_dfs_ref.c => namespace.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename fs/smb/client/{cifs_dfs_ref.c => namespace.c} (100%)

diff --git a/fs/smb/client/Makefile b/fs/smb/client/Makefile
index 304a7f6cc13ac..851e6ba65e9be 100644
--- a/fs/smb/client/Makefile
+++ b/fs/smb/client/Makefile
@@ -21,7 +21,7 @@ cifs-$(CONFIG_CIFS_XATTR) += xattr.o
 
 cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
 
-cifs-$(CONFIG_CIFS_DFS_UPCALL) += cifs_dfs_ref.o dfs_cache.o dfs.o
+cifs-$(CONFIG_CIFS_DFS_UPCALL) += namespace.o dfs_cache.o dfs.o
 
 cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o
 
diff --git a/fs/smb/client/cifs_dfs_ref.c b/fs/smb/client/namespace.c
similarity index 100%
rename from fs/smb/client/cifs_dfs_ref.c
rename to fs/smb/client/namespace.c
-- 
GitLab