diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-01-10 20:35:35 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 15:50:52 +0100 |
commit | 6f45d18568c2020085fe3f2e87ea883ad00e3861 (patch) | |
tree | 1d33879de4690a8fe28257f9e9381a99ac71a20c /fs/btrfs/dir-item.c | |
parent | fcabdd1ca51f9fd6ced977b2279da19d123b7512 (diff) | |
download | linux-6f45d18568c2020085fe3f2e87ea883ad00e3861.tar.bz2 |
btrfs: Make btrfs_insert_delayed_dir_index 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/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 74de492bd490..2c2b707567e4 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c @@ -174,7 +174,7 @@ second_insert: btrfs_release_path(path); ret2 = btrfs_insert_delayed_dir_index(trans, root->fs_info, name, - name_len, dir, &disk_key, type, + name_len, BTRFS_I(dir), &disk_key, type, index); out_free: btrfs_free_path(path); |