Logo Search packages:      
Sourcecode: fuse version File versions

int fuse_reply_entry ( fuse_req_t  req,
const struct fuse_entry_param e 

Reply with a directory entry

Possible requests: lookup, mknod, mkdir, symlink, link

req request handle
e the entry parameters
zero for success, -errno for failure to send reply

Definition at line 320 of file fuse_lowlevel.c.

References fuse_req::f, fuse_reply_entry(), fuse_reply_err(), and fuse_entry_param::ino.

Referenced by fuse_reply_entry().

      struct fuse_entry_out arg;

      /* before ABI 7.4 e->ino == 0 was invalid, only ENOENT meant
         negative entry */
      if (!e->ino && req->f->conn.proto_minor < 4)
            return fuse_reply_err(req, ENOENT);

      memset(&arg, 0, sizeof(arg));
      fill_entry(&arg, e);
      return send_reply_ok(req, &arg, sizeof(arg));

Generated by  Doxygen 1.6.0   Back to index