diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-02-20 13:50:45 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:08 +0100 |
commit | dcdbc059f01e242f92e3239654a1a57d15b0da5a (patch) | |
tree | 90fa268aa45d18f0ac8dcc2189e525818d3c2413 /fs/btrfs/ioctl.c | |
parent | 46e59791836c75210bdf1f715592b49836fad848 (diff) | |
download | op-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.c | 2 |
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); } |