diff options
author | 2021-07-16 03:26:41 -0300 | |
---|---|---|
committer | 2021-07-22 11:43:23 -0500 | |
commit | b62366181a5e9473e9c10e98f400049491c55876 (patch) | |
tree | 89872d334ee61e3751fe03e4d7f0f5ea4389ce16 /net/unix/af_unix.c | |
parent | cifs: only write 64kb at a time when fallocating a small region of a file (diff) | |
download | wireguard-linux-b62366181a5e9473e9c10e98f400049491c55876.tar.xz wireguard-linux-b62366181a5e9473e9c10e98f400049491c55876.zip |
cifs: support share failover when remounting
When remouting a DFS share, force a new DFS referral of the path and
if the currently cached targets do not match any of the new targets or
there was no cached targets, then mark it for reconnect.
For example:
$ mount //dom/dfs/link /mnt -o username=foo,password=bar
$ ls /mnt
oldfile.txt
change target share of 'link' in server settings
$ mount /mnt -o remount,username=foo,password=bar
$ ls /mnt
newfile.txt
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions