diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-01-10 21:35:38 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 17:50:52 +0300 |
commit | 4ccb5c7231295a5666f4df1c08232bdf7975e0e8 (patch) | |
tree | 6e458e1a1f6e6aedc99ad599db95d5ad7ceaa50e /fs/btrfs/delayed-inode.c | |
parent | e07222c7d20633b86d3af9d55f97d687837b7c02 (diff) | |
download | linux-4ccb5c7231295a5666f4df1c08232bdf7975e0e8.tar.xz |
btrfs: Make btrfs_kill_delayed_inode_items take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
-rw-r--r-- | fs/btrfs/delayed-inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c index 6e4154a19e67..b580053133d9 100644 --- a/fs/btrfs/delayed-inode.c +++ b/fs/btrfs/delayed-inode.c @@ -1931,11 +1931,11 @@ static void __btrfs_kill_delayed_node(struct btrfs_delayed_node *delayed_node) mutex_unlock(&delayed_node->mutex); } -void btrfs_kill_delayed_inode_items(struct inode *inode) +void btrfs_kill_delayed_inode_items(struct btrfs_inode *inode) { struct btrfs_delayed_node *delayed_node; - delayed_node = btrfs_get_delayed_node(BTRFS_I(inode)); + delayed_node = btrfs_get_delayed_node(inode); if (!delayed_node) return; |