diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-01-10 20:35:42 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 15:50:53 +0100 |
commit | f5cc7b80a61a0c9f713e2e9c8f8fbcc0f3cb0cc2 (patch) | |
tree | 01115b8387c0721abd82eaad6943de7307c18e5d /fs/btrfs/inode.c | |
parent | 5f4b32e94aabaff1b86ba4ed701f01689d59bc90 (diff) | |
download | lwn-f5cc7b80a61a0c9f713e2e9c8f8fbcc0f3cb0cc2.tar.gz lwn-f5cc7b80a61a0c9f713e2e9c8f8fbcc0f3cb0cc2.zip |
btrfs: Make btrfs_inode_delayed_dir_index_count 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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 26209403fcc2..7d8d6c190917 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6103,7 +6103,7 @@ int btrfs_set_inode_index(struct inode *dir, u64 *index) int ret = 0; if (BTRFS_I(dir)->index_cnt == (u64)-1) { - ret = btrfs_inode_delayed_dir_index_count(dir); + ret = btrfs_inode_delayed_dir_index_count(BTRFS_I(dir)); if (ret) { ret = btrfs_set_inode_index_count(dir); if (ret) |