btrfs: Replace multiple atomic_inc() with atomic_add()
authorRashika <rashika.kheria@gmail.com>
Wed, 30 Oct 2013 21:42:42 +0000 (03:12 +0530)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:11:19 +0000 (22:11 -0500)
commit95e94d14b42c1992493ce72492351d4601b274fe
tree22fc7f4d17b31556ed8eecce12a77747d0300f61
parent2e9f5954978cd5b0c26e6eeb9fd4ccbdce0f5ecc
btrfs: Replace multiple atomic_inc() with atomic_add()

This patch replaces multiple atomic_inc() with atomic_add() in
delayed-inode.c to reduce source code and have few instructions
for compilation.

Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/delayed-inode.c