]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.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>
Wed, 3 Oct 2012 01:35:55 +0000 (21:35 -0400)
commit99621b44aa194eab594e1f17217231c02b519211
treed8fb03783795180b5f57d246a1fa6f47271e1e5d
parent10c28d937e2cca577c2d804106b50dd0562fb062
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