diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-15 13:36:25 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:57 +0200 |
commit | 8535dc196769b85ac6cc93f1e06986a57cb08e3d (patch) | |
tree | 8e121a49549213e02ad76cc40622aa210da7c347 /fs/btrfs/inode.c | |
parent | btrfs: Remove unused tot_len var from lzo_decompress (diff) | |
download | linux-8535dc196769b85ac6cc93f1e06986a57cb08e3d.tar.xz linux-8535dc196769b85ac6cc93f1e06986a57cb08e3d.zip |
btrfs: Remove unused root var from relink_file_extents
Added in 38c227d87c49 ("Btrfs: snapshot-aware defrag") but subsequently
made redundant by 0b246afa62b0 ("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>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 6c08c03fc03c..1e9cceeaf4c4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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 *prev = NULL; struct inode *inode; - struct btrfs_root *root; struct rb_node *node; int ret; inode = new->inode; - root = BTRFS_I(inode)->root; path = btrfs_alloc_path(); if (!path) |