483 |
if (!err && entry->noent) |
if (!err && entry->noent) |
484 |
err = ENOENT; |
err = ENOENT; |
485 |
} |
} |
486 |
else |
else if (*(entry->name)) |
487 |
{ |
{ |
488 |
|
/* The root node is treated seperately below. */ |
489 |
struct ftp_conn *conn; |
struct ftp_conn *conn; |
490 |
|
|
491 |
err = ftpfs_get_ftp_conn (dir->fs, &conn); |
err = ftpfs_get_ftp_conn (dir->fs, &conn); |
519 |
entry->name_timestamp = timestamp; |
entry->name_timestamp = timestamp; |
520 |
} |
} |
521 |
} |
} |
522 |
|
else |
523 |
|
{ |
524 |
|
/* Refresh the root node with the old stat |
525 |
|
information. */ |
526 |
|
struct refresh_entry_state res; |
527 |
|
res.entry = entry; |
528 |
|
res.timestamp = timestamp; |
529 |
|
err = update_old_entry (entry->name, |
530 |
|
&netfs_root_node->nn_stat, |
531 |
|
NULL, &res); |
532 |
|
} |
533 |
} |
} |
534 |
|
|
535 |
if ((entry->stat.st_mtime < node->nn_stat.st_mtime |
if ((entry->stat.st_mtime < node->nn_stat.st_mtime |