s3: remove cross-device rename support from vfs_default
authorBjörn Jacke <bj@sernet.de>
Mon, 8 Mar 2010 11:52:13 +0000 (12:52 +0100)
committerBjörn Jacke <bj@sernet.de>
Mon, 8 Mar 2010 16:17:52 +0000 (17:17 +0100)
commit583de7b582956d3bec7e875d88ef16b3b8ac6e53
tree688e24ee116c54a720e33fb9d9443421c48cad73
parentf4cb528ac510d3381a92a303e858edaf9e3d908a
s3: remove cross-device rename support from vfs_default

cross-device rename support has some major limitations:

- on huge files clients will timeout or hang
- ACLs and EA information is not retained

Usually a client will have to handle this. A Windows Server with a reparse
point will also just return NT_STATUS_NOT_SAME_DEVICE. We will now by default
do the same.

I will add a vfs module which will restore the old cross-device renames.
source3/modules/vfs_default.c