disk-io.c (3eaa2885276fd6dac7b076a793932428b7168e74) disk-io.c (7b1287662304c3cb05cb38f5e3e2d69f386e8f10)
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 718 unchanged lines hidden (view full) ---

727 root->objectid = objectid;
728 root->last_trans = 0;
729 root->highest_inode = 0;
730 root->last_inode_alloc = 0;
731 root->name = NULL;
732 root->in_sysfs = 0;
733
734 INIT_LIST_HEAD(&root->dirty_list);
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 718 unchanged lines hidden (view full) ---

727 root->objectid = objectid;
728 root->last_trans = 0;
729 root->highest_inode = 0;
730 root->last_inode_alloc = 0;
731 root->name = NULL;
732 root->in_sysfs = 0;
733
734 INIT_LIST_HEAD(&root->dirty_list);
735 INIT_LIST_HEAD(&root->orphan_list);
735 spin_lock_init(&root->node_lock);
736 spin_lock_init(&root->node_lock);
737 spin_lock_init(&root->orphan_lock);
736 mutex_init(&root->objectid_mutex);
737 memset(&root->root_key, 0, sizeof(root->root_key));
738 memset(&root->root_item, 0, sizeof(root->root_item));
739 memset(&root->defrag_progress, 0, sizeof(root->defrag_progress));
740 memset(&root->root_kobj, 0, sizeof(root->root_kobj));
741 root->defrag_trans_start = fs_info->generation;
742 init_completion(&root->kobj_unregister);
743 root->defrag_running = 0;

--- 1085 unchanged lines hidden ---
738 mutex_init(&root->objectid_mutex);
739 memset(&root->root_key, 0, sizeof(root->root_key));
740 memset(&root->root_item, 0, sizeof(root->root_item));
741 memset(&root->defrag_progress, 0, sizeof(root->defrag_progress));
742 memset(&root->root_kobj, 0, sizeof(root->root_kobj));
743 root->defrag_trans_start = fs_info->generation;
744 init_completion(&root->kobj_unregister);
745 root->defrag_running = 0;

--- 1085 unchanged lines hidden ---