equal
deleted
inserted
replaced
56 |
56 |
57 error: |
57 error: |
58 dbfs_trans_fail(ctx_base, err); |
58 dbfs_trans_fail(ctx_base, err); |
59 } |
59 } |
60 |
60 |
61 void dbfs_mk_filetree (const struct evsql_result_info *res, void *arg) { |
61 void dbfs_mk_filetree (struct evsql_result *res, void *arg) { |
62 struct dbfs_mk_ctx *ctx = arg; |
62 struct dbfs_mk_ctx *ctx = arg; |
63 int err = EIO; |
63 int err = EIO; |
64 |
64 |
65 // check results |
65 // check results |
66 if (_dbfs_check_res(res, 0, 0) < 0) |
66 if (_dbfs_check_res(res, 0, 0) < 0) |
77 dbfs_trans_fail(&ctx->base, err); |
77 dbfs_trans_fail(&ctx->base, err); |
78 |
78 |
79 evsql_result_free(res); |
79 evsql_result_free(res); |
80 } |
80 } |
81 |
81 |
82 void dbfs_mk_inode (const struct evsql_result_info *res, void *arg) { |
82 void dbfs_mk_inode (struct evsql_result *res, void *arg) { |
83 struct dbfs_mk_ctx *ctx = arg; |
83 struct dbfs_mk_ctx *ctx = arg; |
84 struct dbfs *dbfs_ctx = fuse_req_userdata(ctx->base.req); |
84 struct dbfs *dbfs_ctx = fuse_req_userdata(ctx->base.req); |
85 int err = EIO; |
85 int err = EIO; |
86 |
86 |
87 // check result |
87 // check result |