Open djdisodo opened 3 months ago
Hm.. What ksmbd source are you using ?
@namjaejeon from this repo c7019fc3e166b1f33a2dea918786bb973cea2501
ksmbd_override_fsids() and ksmbd_revert_fsids() should be called in pairs. Can you make sure that ksmbd_revert_fsids() is called without calling ksmbd_override_fsids()? If you check smb2_query_dir() in smb2pdu.c, You will understand what I said.
@namjaejeon it seems like ksmbd_override_fsids
will always be called once ksmbd_override_fsids
is called
ksmbd_revert_fsids
call appears twice in function and it's always followed by return 0
so i have no idea
sorry i sent wrong binary
here's the compiled binary ksmbd.ko.gz
@djdisodo
ksmbd_revert_fsids call appears twice in function
If ksmbd_revert_fsids() will be called twice, this problem can happen. Can you explain how ksmbd_revert_fsids() will called twice ? When I have checked the code, I have not found that point.
*.ko file is not helpful. You can find the clue in your test setup because you can reproduce it.
i meant that it just appears in the code twice but not in a way that will be called twice because it was followed by return 0
i'll check my setup
this occured when i tried to open share
removing this line allowed me to browse (not an actual fix)
using image including kernel from here https://github.com/Fishwaldo/sophgo-sg200x-debian
module built out of tree