Attaching with file system

Suppose there are two drivers A and B and load order for both of them is
filter. suppose Driver entry for A is called first and it register a
callback for getting notification for file system registration through
IoRegisterFileSystem. B does the same after A.

Now what will be order of call for callbacks. Is it same as the order for
registering the callback or it is different.

i mean the callback registered by driver A gets called first or B callback
gets called first or any one can be called first

The OS uses the list for registered callbacks, so the order can’t change and I think must be the same as the order in which IoRegisterFsRegistrationChange was called if the new entries are added at the end of the list.
“Rohit” wrote in message news:xxxxx@ntfsd…
Suppose there are two drivers A and B and load order for both of them is filter. suppose Driver entry for A is called first and it register a callback for getting notification for file system registration through IoRegisterFileSystem. B does the same after A.

Now what will be order of call for callbacks. Is it same as the order for registering the callback or it is different.

i mean the callback registered by driver A gets called first or B callback gets called first or any one can be called first