stree: make strees copy on write
commit3aae9b336b31157356ca23b2f5d2d74e41e3fad4
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 12:39:17 +0000 (27 15:39 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 12:39:17 +0000 (27 15:39 +0300)
treeb2bd628ce81697510cd5c681c690c9e23e39ae69
parentda96dac5e62cdbc51beadee3dfe05100ccddad6e
stree: make strees copy on write

I want to do fewer copies so now when you do a clone it just marks bumps
the reference count but doesn't do the copy until we insert something new.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
avl.c
avl.h
smatch_slist.c