diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-01-10 20:35:41 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 15:50:53 +0100 |
commit | 5f4b32e94aabaff1b86ba4ed701f01689d59bc90 (patch) | |
tree | e7656e9af6ef89f6cd4e2b47a52a387143129ec1 /fs/btrfs/delayed-inode.c | |
parent | aa79021fde63450e982c2e2c08a8f2f31671d5d8 (diff) | |
download | linux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.tar.gz linux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.tar.bz2 linux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.zip |
btrfs: Make btrfs_commit_inode_delayed_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 0470a7eb489e..11ee1ad6bc3d 100644 --- a/fs/btrfs/delayed-inode.c +++ b/fs/btrfs/delayed-inode.c @@ -1194,9 +1194,9 @@ int btrfs_run_delayed_items_nr(struct btrfs_trans_handle *trans, } int btrfs_commit_inode_delayed_items(struct btrfs_trans_handle *trans, - struct inode *inode) + struct btrfs_inode *inode) { - struct btrfs_delayed_node *delayed_node = btrfs_get_delayed_node(BTRFS_I(inode)); + struct btrfs_delayed_node *delayed_node = btrfs_get_delayed_node(inode); struct btrfs_path *path; struct btrfs_block_rsv *block_rsv; int ret; |