"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fs/btrfs/extent-tree.c" between
linux-3.16.62.tar.xz and linux-3.16.63.tar.xz

About: The full source of the Linux kernel 3.16.x (longterm stable)

extent-tree.c  (linux-3.16.62.tar.xz):extent-tree.c  (linux-3.16.63.tar.xz)
skipping to change at line 8586 skipping to change at line 8586
void btrfs_put_block_group_cache(struct btrfs_fs_info *info) void btrfs_put_block_group_cache(struct btrfs_fs_info *info)
{ {
struct btrfs_block_group_cache *block_group; struct btrfs_block_group_cache *block_group;
u64 last = 0; u64 last = 0;
while (1) { while (1) {
struct inode *inode; struct inode *inode;
block_group = btrfs_lookup_first_block_group(info, last); block_group = btrfs_lookup_first_block_group(info, last);
while (block_group) { while (block_group) {
wait_block_group_cache_done(block_group);
spin_lock(&block_group->lock); spin_lock(&block_group->lock);
if (block_group->iref) if (block_group->iref)
break; break;
spin_unlock(&block_group->lock); spin_unlock(&block_group->lock);
block_group = next_block_group(info->tree_root, block_group = next_block_group(info->tree_root,
block_group); block_group);
} }
if (!block_group) { if (!block_group) {
if (last == 0) if (last == 0)
break; break;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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