mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Change name of link_count to nlink.
This commit is contained in:
parent
2ea310ab54
commit
69a4f9f1c1
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user