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/tests | |
parent | 46e59791836c75210bdf1f715592b49836fad848 (diff) | |
download | linux-stable-dcdbc059f01e242f92e3239654a1a57d15b0da5a.tar.gz linux-stable-dcdbc059f01e242f92e3239654a1a57d15b0da5a.tar.bz2 linux-stable-dcdbc059f01e242f92e3239654a1a57d15b0da5a.zip |
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/tests')
-rw-r--r-- | fs/btrfs/tests/inode-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/inode-tests.c b/fs/btrfs/tests/inode-tests.c index 4d0f038e14f1..924bcbf43275 100644 --- a/fs/btrfs/tests/inode-tests.c +++ b/fs/btrfs/tests/inode-tests.c @@ -293,7 +293,7 @@ static noinline int test_btrfs_get_extent(u32 sectorsize, u32 nodesize) goto out; } free_extent_map(em); - btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); + btrfs_drop_extent_cache(BTRFS_I(inode), 0, (u64)-1, 0); /* * All of the magic numbers are based on the mapping setup in |