summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-02-20 13:50:45 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-28 11:30:08 +0100
commitdcdbc059f01e242f92e3239654a1a57d15b0da5a (patch)
tree90fa268aa45d18f0ac8dcc2189e525818d3c2413 /fs/btrfs/ioctl.c
parent46e59791836c75210bdf1f715592b49836fad848 (diff)
downloadop-kernel-dev-dcdbc059f01e242f92e3239654a1a57d15b0da5a.zip
op-kernel-dev-dcdbc059f01e242f92e3239654a1a57d15b0da5a.tar.gz
btrfs: Make btrfs_drop_extent_cache take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 86f993c..bc2e03a 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -3359,7 +3359,7 @@ static void clone_update_extent_map(struct inode *inode,
free_extent_map(em);
break;
}
- btrfs_drop_extent_cache(inode, em->start,
+ btrfs_drop_extent_cache(BTRFS_I(inode), em->start,
em->start + em->len - 1, 0);
}
OpenPOWER on IntegriCloud