]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfad79352f7a2c5871e74aad3212d18186ce872c9
tree22fc7f4d17b31556ed8eecce12a77747d0300f61
parent280a32dd563021703236a6353154d7ae48d0bc21
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