summaryrefslogtreecommitdiff
path: root/fs/btrfs/fiemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/fiemap.c')
-rw-r--r--fs/btrfs/fiemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/fiemap.c b/fs/btrfs/fiemap.c
index 43bf0979fd53..7935586a9dbd 100644
--- a/fs/btrfs/fiemap.c
+++ b/fs/btrfs/fiemap.c
@@ -320,7 +320,7 @@ static int fiemap_next_leaf_item(struct btrfs_inode *inode, struct btrfs_path *p
* the cost of allocating a new one.
*/
ASSERT(test_bit(EXTENT_BUFFER_UNMAPPED, &clone->bflags));
- atomic_inc(&clone->refs);
+ refcount_inc(&clone->refs);
ret = btrfs_next_leaf(inode->root, path);
if (ret != 0)