pfs softlinks

Daniel Lorch daniel.lorch at
Sun Apr 4 17:59:47 PDT 2010


I have implemented the `readlink' operation in FUSE. I am doing a b-tree
search using the following parameters:

  struct hammer_base_elm key;

  bzero(&key, sizeof(key));

  key.obj_id = ino;
  key.localization = HAMMER_LOCALIZE_MISC;
  key.rec_type = HAMMER_RECTYPE_FIX;

Regular softlinks (e.g. from snapshots) resolve correctly, but for PFS
softlinks, the b-tree search won't return anything. What are the
parameters I need to set?

The code is here in the function `hreadlink':


More information about the Hammer mailing list