diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-08-17 18:34:04 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-08-21 00:05:50 +0300 |
commit | 0a049935e47e30c62df165e4d6ff563ff9c002d5 (patch) | |
tree | a3e00d1e1e137fe2db19395c19583d55c9d81058 /fs/smb/client/inode.c | |
parent | 561f82a3a24c96fe84fc7ecac11f02b2afd11031 (diff) | |
download | linux-0a049935e47e30c62df165e4d6ff563ff9c002d5.tar.xz |
smb: client: get rid of dfs naming in automount code
Automount code will handle both DFS links and reparse mount points.
Also, get rid of BUG_ON() in cifs_release_automount_timer() while
we're at it.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/inode.c')
-rw-r--r-- | fs/smb/client/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/inode.c b/fs/smb/client/inode.c index 0d11e63042e2..0d4a78561acc 100644 --- a/fs/smb/client/inode.c +++ b/fs/smb/client/inode.c @@ -60,7 +60,7 @@ static void cifs_set_ops(struct inode *inode) case S_IFDIR: #ifdef CONFIG_CIFS_DFS_UPCALL if (IS_AUTOMOUNT(inode)) { - inode->i_op = &cifs_dfs_referral_inode_operations; + inode->i_op = &cifs_namespace_inode_operations; } else { #else /* NO DFS support, treat as a directory */ { |