Change name of link_count to nlink.

This commit is contained in:
Andreas Schneider 2008-04-29 09:07:30 +02:00
parent 2ea310ab54
commit 69a4f9f1c1
4 changed files with 4 additions and 4 deletions

View File

@ -326,7 +326,7 @@ static int _stat(const char *uri, csync_vio_file_stat_t *buf) {
buf->inode = sb.st_ino;
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_INODE;
buf->link_count = sb.st_nlink;
buf->nlink = sb.st_nlink;
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_LINK_COUNT;
buf->uid = sb.st_uid;

View File

@ -91,7 +91,7 @@ out:
st->modtime = fs->mtime;
st->uid = fs->uid;
st->gid = fs->gid;
st->nlink = fs->link_count;
st->nlink = fs->nlink;
st->type = type;
st->phash = h;

View File

@ -92,7 +92,7 @@ struct csync_vio_file_stat_s {
dev_t device;
ino_t inode;
nlink_t link_count;
nlink_t nlink;
enum csync_vio_file_stat_fields_e fields;
enum csync_vio_file_type_e type;

View File

@ -287,7 +287,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
buf->inode = sb.st_ino;
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_INODE;
buf->link_count = sb.st_nlink;
buf->nlink = sb.st_nlink;
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_LINK_COUNT;
buf->uid = sb.st_uid;