All of lore.kernel.org
 help / color / mirror / Atom feed
* stor_obj_test
@ 2010-07-07  4:02 Jeff Garzik
  2010-08-16 16:50 ` stor_obj_test Pete Zaitcev
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2010-07-07  4:02 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: Project Hail

This function seems to be missing the "meat."  It retrieves then 
disposes of a keylist.

bool stor_obj_test(struct open_chunk *cep, uint64_t key)
{
         struct st_keylist *klist;

         if (!cep->stc)
                 return false;

         klist = stc_keys(cep->stc);
         if (!klist)
                 return false;
         stc_free_keylist(klist);
         return true;
}


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-16 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07  4:02 stor_obj_test Jeff Garzik
2010-08-16 16:50 ` stor_obj_test Pete Zaitcev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.