equal
deleted
inserted
replaced
31 } |
31 } |
32 |
32 |
33 /* |
33 /* |
34 * Handle the results for the initial attribute lookup for the dir itself during opendir ops. |
34 * Handle the results for the initial attribute lookup for the dir itself during opendir ops. |
35 */ |
35 */ |
36 static void dbfs_opendir_res (const struct evsql_result_info *res, void *arg) { |
36 static void dbfs_opendir_res (struct evsql_result *res, void *arg) { |
37 struct dbfs_dirop *dirop = arg; |
37 struct dbfs_dirop *dirop = arg; |
38 int err; |
38 int err; |
39 |
39 |
40 assert(dirop->base.req); |
40 assert(dirop->base.req); |
41 assert(dirop->base.trans); // query callbacks don't get called if the trans fails |
41 assert(dirop->base.trans); // query callbacks don't get called if the trans fails |
158 * Got the list of files for our readdir() request. |
158 * Got the list of files for our readdir() request. |
159 * |
159 * |
160 * Fill up the dirbuf, and then send the reply. |
160 * Fill up the dirbuf, and then send the reply. |
161 * |
161 * |
162 */ |
162 */ |
163 static void dbfs_readdir_res (const struct evsql_result_info *res, void *arg) { |
163 static void dbfs_readdir_res (struct evsql_result *res, void *arg) { |
164 struct dbfs_dirop *dirop = arg; |
164 struct dbfs_dirop *dirop = arg; |
165 int err; |
165 int err; |
166 size_t row; |
166 size_t row; |
167 |
167 |
168 assert(dirop->base.req); |
168 assert(dirop->base.req); |