Projects STRLCPY criu Commits b689bcc3
🤬
  • cr-check: remove excess kerndat_has_nspid from check_ns_pid

    We do kerndat_has_nspid in kerndat_init already and save result to
    kerndat cache, we don't need to recheck it each time.
    
    Signed-off-by: Pavel Tikhomirov <[email protected]>
  • Loading...
  • Pavel Tikhomirov committed with Andrei Vagin 1 year ago
    b689bcc3
    1 parent 9b349604
  • ■ ■ ■ ■ ■ ■
    criu/cr-check.c
    skipped 1323 lines
    1324 1324   
    1325 1325  static int check_ns_pid(void)
    1326 1326  {
    1327  - if (kerndat_has_nspid() < 0)
    1328  - return -1;
    1329  - 
    1330 1327   if (!kdat.has_nspid)
    1331 1328   return -1;
    1332 1329   
    skipped 397 lines
Please wait...
Page is in error, reload to recover