]> 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, 6 Sep 2012 13:49:16 +0000 (09:49 -0400)
commitceeb16d9cc8340a78d0452c5d6363f1a8acdb7c3
treeafa7a38071eed86c2d99969729362fa13f7998b0
parent4f166a906a1e78ba6c48fc1cf3c843b56e11dd8f
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