diff --git a/smb2pdu.c b/smb2pdu.c index f494be81..6f45ae80 100644 --- a/smb2pdu.c +++ b/smb2pdu.c @@ -3213,7 +3213,6 @@ int smb2_open(struct ksmbd_work *work) goto err_out; } - file_present = true; #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 12, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0) idmap = mnt_idmap(path.mnt);