"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api/src/glfs-fops.c" between
glusterfs-9.1.tar.gz and glusterfs-9.2.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 9.x (latest version).

glfs-fops.c  (glusterfs-9.1):glfs-fops.c  (glusterfs-9.2)
skipping to change at line 3756 skipping to change at line 3756
gf_link_inodes_from_dirent(THIS, fd->inode, &entries); gf_link_inodes_from_dirent(THIS, fd->inode, &entries);
} }
list_splice_init(&glfd->entries, &old.list); list_splice_init(&glfd->entries, &old.list);
list_splice_init(&entries.list, &glfd->entries); list_splice_init(&entries.list, &glfd->entries);
/* spurious errno is dangerous for glfd_entry_next() */ /* spurious errno is dangerous for glfd_entry_next() */
errno = 0; errno = 0;
} }
if (ret > 0) if ((ret > 0) && !list_empty(&glfd->entries)) {
glfd->next = list_entry(glfd->entries.next, gf_dirent_t, list); glfd->next = list_entry(glfd->entries.next, gf_dirent_t, list);
}
gf_dirent_free(&old); gf_dirent_free(&old);
out: out:
if (fd) if (fd)
fd_unref(fd); fd_unref(fd);
glfs_subvol_done(glfd->fs, subvol); glfs_subvol_done(glfd->fs, subvol);
return ret; return ret;
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)