In a fsf driver is it okay to call IoDeleteDevice from FS Notification
routine.
It is OK from FastIoDetachDevice.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
“Mani” wrote in message news:xxxxx@ntfsd…
> In a fsf driver is it okay to call IoDeleteDevice from FS Notification
> routine.
>
>
>
so…do you mean to say that it is ok “only from FastIoDetachDevice”?
Because sfilter calls it from FS Notification.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> It is OK from FastIoDetachDevice.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> “Mani” wrote in message news:xxxxx@ntfsd…
> > In a fsf driver is it okay to call IoDeleteDevice from FS Notification
> > routine.
> >
> >
> >
>
> so…do you mean to say that it is ok “only from FastIoDetachDevice”?
Dunno, I did it only from FastIoDetachDevice and all was fine.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
So is it a bug in sfilter?
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> > so…do you mean to say that it is ok “only from FastIoDetachDevice”?
>
> Dunno, I did it only from FastIoDetachDevice and all was fine.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
Dunno, at least I would only delete the FS filter DO from
FastIoDetachDevice.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
“Mani” wrote in message news:xxxxx@ntfsd…
> So is it a bug in sfilter?
>
>
> “Maxim S. Shatskih” wrote in message
> news:xxxxx@ntfsd…
> > > so…do you mean to say that it is ok “only from FastIoDetachDevice”?
> >
> > Dunno, I did it only from FastIoDetachDevice and all was fine.
> >
> > –
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> >
>
>
>
Thnx Maxim for your reply.Another question for you:
Fs filter create dev obj and attach to FS control dev obj in FS notification
(IoRegFilesys).
so must it not delete the object in FS notification during
(IoUnRegFilesys)…
Can anyone else confirm this? Has anyone else been deleting the device
objects in
FS notification. I guess many of the fs filters must have been based on
sfilter.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> Dunno, at least I would only delete the FS filter DO from
> FastIoDetachDevice.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> “Mani” wrote in message news:xxxxx@ntfsd…
> > So is it a bug in sfilter?
> >
> >
> > “Maxim S. Shatskih” wrote in message
> > news:xxxxx@ntfsd…
> > > > so…do you mean to say that it is ok “only from
FastIoDetachDevice”?
> > >
> > > Dunno, I did it only from FastIoDetachDevice and all was fine.
> > >
> > > –
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > xxxxx@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > >
> >
> >
> >
>
>