Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-115969 / 22.02 / Permit case-insensitive renames
Add additional logic in source3/smbd/reply.c for case where destination file exists, i.e. stat(2) for file does not fail with ENOENT. In this case, compare inode numbers of the two files and if they're identical, allow vfs_renameat() to proceed. This in turn passes the rename operation through the VFS stack to a module that moves file through intermediate one. During testing of this, it was discovered that vfs_fset_nt_acl() was failing in vfs_ixnas with EINVAL. This was due to improper initialization of ids and tag for non-special ACEs. Additional cleanup of temporary FSP structs was added to vfs_zfs_core as well.
- Loading branch information
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters