Re: [PATCH] smb/server: check destination is open when renaming

ChenXiaoSong <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
Hi Ralph,

Thanks for your sharing.

This seems to be the rule for determining whether there are any open 
child files or subdirectories under the old directory of rename operation.

For checking whether the new file of rename operation is open, there 
does not seem to be a POSIX-specific rule.

Please let me know if my understanding is incorrect.

On 8/4/26 16:44, Ralph Boehme wrote:
> 
> - allow rename if there are only other POSIX opens
> - fail the rename if there's one or more non-POSIX opens
> 

-- 
ChenXiaoSong <[email protected]>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.