checking d->grant_table against NULL?
gnttab_prepare_for_transfer() is the only place in grant_table.c where such a check happens. Is this check superfluous (and hence slightly misleading), or are similar checks missing throughout the file? I suppose the former, given that domains get inserted to the hash table only after grant_table_create() ran, and get removed again before calling grant_table_destroy().
Thanks, Jan
Quoted 6 lines · Jan Beulich
gnttab_prepare_for_transfer()is the only place ingrant_table.cwhere such a check happens. Is this check superfluous (and hence slightly misleading), or are similar checks missing throughout the file? I suppose the former, given that domains get inserted to the hash table only aftergrant_table_create()ran, and get removed again before callinggrant_table_destroy().
I agree, I'm pretty sure it's superfluous.
Quoted 7 lines
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel