cifs: do d_move in rename
authorSteve French <stfrench@microsoft.com>
Wed, 26 Feb 2020 00:08:54 +0000 (18:08 -0600)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Mar 2020 03:49:09 +0000 (22:49 -0500)
commitc7e9f78f7b459885ee472d661473aa87a0f24c04
tree390322ab08b2de20c0dfb9452fc801964944aac7
parent69dda3059e7a4dbe02b05a38b4a066919da38a45
cifs: do d_move in rename

See commit 349457ccf2592c14bdf13b6706170ae2e94931b1
"Allow file systems to manually d_move() inside of ->rename()"

Lessens possibility of race conditions in rename

Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c
fs/cifs/inode.c