mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 23:35:21 +00:00
code: Remove trailing whitespaces over .c and .h files
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -169,7 +169,7 @@ static int read_and_open_vmas(int pid, struct list_head *vmas, int *nr_vmas)
|
|||||||
|
|
||||||
if (e->fd != -1) {
|
if (e->fd != -1) {
|
||||||
ret = -1;
|
ret = -1;
|
||||||
pr_err("Error in vma->fd setting (%Ld)\n",
|
pr_err("Error in vma->fd setting (%Ld)\n",
|
||||||
(unsigned long long)e->fd);
|
(unsigned long long)e->fd);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -602,7 +602,7 @@ err:
|
|||||||
futex_abort_and_wake(&task_entries->nr_in_progress);
|
futex_abort_and_wake(&task_entries->nr_in_progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME Din't fail on xid restore failure. MySQL uses runaway
|
* FIXME Din't fail on xid restore failure. MySQL uses runaway
|
||||||
* pgid and sid and there's nothing we can do about it yet :(
|
* pgid and sid and there's nothing we can do about it yet :(
|
||||||
*/
|
*/
|
||||||
|
@@ -105,7 +105,7 @@ typedef struct {
|
|||||||
#define _KNSIG 64
|
#define _KNSIG 64
|
||||||
# define _NSIG_BPW 64
|
# define _NSIG_BPW 64
|
||||||
|
|
||||||
#define _KNSIG_WORDS (_KNSIG / _NSIG_BPW)
|
#define _KNSIG_WORDS (_KNSIG / _NSIG_BPW)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned long sig[_KNSIG_WORDS];
|
unsigned long sig[_KNSIG_WORDS];
|
||||||
|
2
pipes.c
2
pipes.c
@@ -361,7 +361,7 @@ int dump_one_pipe_data(struct pipe_data_dump *pd, int lfd, const struct fd_parms
|
|||||||
if (pd->ids[i] == pipe_id(p))
|
if (pd->ids[i] == pipe_id(p))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("Dumping data from pipe %#x fd %d\n", pipe_id(p), lfd);
|
pr_info("Dumping data from pipe %#x fd %d\n", pipe_id(p), lfd);
|
||||||
|
|
||||||
if (pd->nr >= NR_PIPES_WITH_DATA) {
|
if (pd->nr >= NR_PIPES_WITH_DATA) {
|
||||||
|
2
uts_ns.c
2
uts_ns.c
@@ -27,7 +27,7 @@ int dump_uts_ns(int ns_pid, struct cr_fdset *fdset)
|
|||||||
pr_perror("Error calling uname");
|
pr_perror("Error calling uname");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ue.nodename = ubuf.nodename;
|
ue.nodename = ubuf.nodename;
|
||||||
ue.domainname = ubuf.domainname;
|
ue.domainname = ubuf.domainname;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user