]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: reada_extent doesn't need kref for refcount
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 29 Aug 2012 20:31:33 +0000 (16:31 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 02:20:22 +0000 (22:20 -0400)
commit437ea6b648eb4bf007cd182a659c5fffbaf99fdc
treed8fb03783795180b5f57d246a1fa6f47271e1e5d
parent5b8a94d461a70a817fd2674bffb46d9811934a3f
btrfs: reada_extent doesn't need kref for refcount

All increments and decrements are under the same spinlock - have to be,
since they need to protect the radix_tree it's found in.  Just use
int, no need to wank with kref...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/reada.c