Logo Search packages:      
Sourcecode: fuse version File versions  Download package

int fuse_reply_statfs ( fuse_req_t  req,
const struct statvfs *  stbuf 

Reply with filesystem statistics

Possible requests: statfs

req request handle
stbuf filesystem statistics
zero for success, -errno for failure to send reply

Definition at line 390 of file fuse_lowlevel.c.

References fuse_req::f.

      struct fuse_statfs_out arg;
      size_t size = req->f->conn.proto_minor < 4 ?
            FUSE_COMPAT_STATFS_SIZE : sizeof(arg);

      memset(&arg, 0, sizeof(arg));
      convert_statfs(stbuf, &arg.st);

      return send_reply_ok(req, &arg, size);

Generated by  Doxygen 1.6.0   Back to index