VFS_IN_RENAME does not work with directories
|Reported by:||Jiří Zárevúcky||Owned by:||Jiří Zárevúcky|
|Blocker for:||Depends on:|
Internally, VFS server implements RENAME as a sequence of link and unlink. However, at least the EXT4 filesystem does not support unlinking non-empty directories, even when other hard link exists. Furthermore, the filesystem implementation may choose to reject the second link entirely.
Thus it would be helpful if filesystems implemented the rename operation directly, instead of playing with links like this.