summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-10 19:35:39 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:53 +0100
commitf48d1cf59ca49d898d1c96fa480eeeeabeaa42be (patch)
tree26b404057b3032532d3ef546bbe34efa1185b558 /fs/btrfs/delayed-inode.c
parentbtrfs: Make btrfs_kill_delayed_inode_items take btrfs_inode (diff)
downloadlinux-f48d1cf59ca49d898d1c96fa480eeeeabeaa42be.tar.xz
linux-f48d1cf59ca49d898d1c96fa480eeeeabeaa42be.zip
btrfs: Make btrfs_remove_delayed_node 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c
index b580053133d9..8b5bb221b3cf 100644
--- a/fs/btrfs/delayed-inode.c
+++ b/fs/btrfs/delayed-inode.c
@@ -1286,15 +1286,15 @@ out:
return ret;
}
-void btrfs_remove_delayed_node(struct inode *inode)
+void btrfs_remove_delayed_node(struct btrfs_inode *inode)
{
struct btrfs_delayed_node *delayed_node;
- delayed_node = READ_ONCE(BTRFS_I(inode)->delayed_node);
+ delayed_node = READ_ONCE(inode->delayed_node);
if (!delayed_node)
return;
- BTRFS_I(inode)->delayed_node = NULL;
+ inode->delayed_node = NULL;
btrfs_release_delayed_node(delayed_node);
}