search for: tmpret

Displaying 3 results from an estimated 3 matches for "tmpret".

Did you mean: tmpreg
2009 Jul 13
1
[PATCH 1/1] fixes a dangerous typo
...m> --- fs/ocfs2/aops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index b730010..a10c989 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -1397,7 +1397,7 @@ static int ocfs2_write_cluster(struct address_space *mapping, if (tmpret) { mlog_errno(tmpret); if (ret == 0) - tmpret = ret; + ret = tmpret; } } -- 1.6.2.5
2006 Aug 15
0
[git patches] ocfs2 updates
...->status == DLM_CANCELGRANT) { + if (status == DLM_CANCELGRANT) { actions &= ~(DLM_UNLOCK_REMOVE_LOCK| DLM_UNLOCK_REGRANT_LOCK| DLM_UNLOCK_CLEAR_CONVERT_TYPE); @@ -349,14 +348,9 @@ static enum dlm_status dlm_send_remote_u vec, veclen, owner, &status); if (tmpret >= 0) { // successfully sent and received - if (status == DLM_CANCELGRANT) - ret = DLM_NORMAL; - else if (status == DLM_FORWARD) { + if (status == DLM_FORWARD) mlog(0, "master was in-progress. retry\n"); - ret = DLM_FORWARD; - } else - ret = status; - lksb->status...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...ient(argv[argc-1], p+2, argc-1, argv); *************** *** 650,655 **** --- 660,675 ---- pid = do_cmd(shell_cmd,shell_machine,shell_user,shell_path,&f_in,&f_out); + /* if we're running in-band, we need to do the RSYNCD stuff first */ + if (run_inband) { + int tmpret; + tmpret = start_inband_exchange(shell_user, shell_path, + f_in, f_out, argc, argv); + if ( tmpret < 0 ) { + return tmpret; + } + } + ret = client_run(f_in, f_out, pid, argc, argv); fflush(stdout); **...