src/dbfs/attr.c
branchnew-evsql
changeset 48 8b019d191353
parent 41 6abda2fa4579
child 49 bb2ff0d2d343
equal deleted inserted replaced
47:8c6c459eacb7 48:8b019d191353
     7 #define DBFS_SETATTR_SQL_MAX 512
     7 #define DBFS_SETATTR_SQL_MAX 512
     8 
     8 
     9 // for building the setattr UPDATE
     9 // for building the setattr UPDATE
    10 #define FIELD(to_set, flag, field, value) ((to_set) & (flag)) ? (field " = " value ", ") : ""
    10 #define FIELD(to_set, flag, field, value) ((to_set) & (flag)) ? (field " = " value ", ") : ""
    11 
    11 
    12 void _dbfs_attr_res (const struct evsql_result_info *res, void *arg) {
    12 void _dbfs_attr_res (struct evsql_result *res, void *arg) {
    13     struct fuse_req *req = arg;
    13     struct fuse_req *req = arg;
    14     struct stat st; ZINIT(st);
    14     struct stat st; ZINIT(st);
    15     int err = 0;
    15     int err = 0;
    16     
    16     
    17     uint32_t ino;
    17     uint32_t ino;