dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.27k stars 665 forks source link

Do not use the current file shared mode? #994

Closed zqlustc closed 3 years ago

zqlustc commented 3 years ago

For help!!! The file have not been inserted in the file list of filelock, why do we have to check file.get() != p, or when this happen? @Liryna, thanks.

https://github.com/dokan-dev/dokany/blob/a7fd5801442921cbf9fa6d869a705dae4c31a9dd/dokan_fuse/src/fusemain.cpp#L1044

Liryna commented 3 years ago

I must say that I no longer remember the reason for that change https://github.com/dokan-dev/dokany/commit/8656e0412a27aa7f3d5a82f5b31469bbea35871a#diff-3db11f41608911446c88467b7597ab910283e85f0f2da52ac3cbd62ca7a078b2 (the commit include two changes but the commit message for that change is ....get_file - Do not use the current file shared mode)

Liryna commented 3 years ago

@zqlustc let me know if I can be of any help.