mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
btrfs: Remove unused root var from relink_file_extents
Added in38c227d87c
("Btrfs: snapshot-aware defrag") but subsequently made redundant by0b246afa62
("btrfs: root->fs_info cleanup, add fs_info convenience variables"). Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4eeb97c67a
commit
8535dc1967
1 changed files with 0 additions and 2 deletions
|
@ -2772,12 +2772,10 @@ static void relink_file_extents(struct new_sa_defrag_extent *new)
|
||||||
struct sa_defrag_extent_backref *backref;
|
struct sa_defrag_extent_backref *backref;
|
||||||
struct sa_defrag_extent_backref *prev = NULL;
|
struct sa_defrag_extent_backref *prev = NULL;
|
||||||
struct inode *inode;
|
struct inode *inode;
|
||||||
struct btrfs_root *root;
|
|
||||||
struct rb_node *node;
|
struct rb_node *node;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
inode = new->inode;
|
inode = new->inode;
|
||||||
root = BTRFS_I(inode)->root;
|
|
||||||
|
|
||||||
path = btrfs_alloc_path();
|
path = btrfs_alloc_path();
|
||||||
if (!path)
|
if (!path)
|
||||||
|
|
Loading…
Reference in a new issue