aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-04-12 13:57:39 -0400
committerChris Mason <chris.mason@oracle.com>2011-04-12 20:51:26 -0400
commit109b36a2bb3eebf5c9994980e724958a5b2b62b6 (patch)
tree2f9211a615e24452d88040741d93f04714cfef34 /crypto/salsa20_generic.c
parent874d0d2633e0f3fe955607c6b04d5fc5325781c4 (diff)
Btrfs: make uncache_state unconditional
The extent_io code can take cached pointers into the extent state trees, and these can make lookups much faster in common operations. The caching only happens when specific bits are set that prevent merging and splitting of the extent state. A help function was added to uncache the state, and it was testing the same set of conditionals. This can leak in very strange corner cases where the lock bit goes away unexpectedly. The uncaching should be unconditional. Once we have a ref on the extent we should always give it up. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions