Lines Matching refs:error
40 int error;
42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen);
43 if (error)
44 return error;
52 return error;
164 * errno on error
172 int error;
174 error = gfs2_replay_read_block(jd, blk, &bh);
175 if (error)
176 return error;
178 error = __get_log_header(sdp, (const struct gfs2_log_header *)bh->b_data,
182 return error;
203 int error = 0;
211 error = gfs2_replay_read_block(jd, start, &bh);
212 if (error)
213 return error;
223 error = get_log_header(jd, start, &lh);
224 if (!error) {
229 if (error == 1) {
231 error = -EIO;
234 return error;
240 error = lops_scan_elements(jd, start, ld, ptr, pass);
241 if (error) {
243 return error;
316 int error = 0;
321 error = gfs2_meta_inode_buffer(ip, &bh);
322 if (error)
355 return error;
380 int error;
389 error = update_statfs_inode(jd, head, sdp->sd_statfs_inode);
390 if (error)
396 error = update_statfs_inode(jd, NULL,
412 int error = 0;
429 error = gfs2_glock_nq_num(sdp, jd->jd_jid, &gfs2_journal_glops,
433 switch (error) {
439 error = 0;
445 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED,
447 if (error)
456 error = gfs2_jdesc_check(jd);
457 if (error)
460 error = gfs2_find_jhead(jd, &head, true);
461 if (error)
473 error = gfs2_freeze_lock(sdp, &thaw_gh, LM_FLAG_PRIORITY);
474 if (error)
498 error = -EROFS;
512 error = foreach_descriptor(jd, head.lh_tail,
514 lops_after_scan(jd, error, pass);
515 if (error) {
555 fs_info(sdp, "jid=%u: %s\n", jd->jd_jid, (error) ? "Failed" : "Done");
557 jd->jd_recover_error = error;