diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-11-04 18:20:15 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-11 10:06:53 +0300 |
commit | 86108c2e34a26e4bec3c6ddb23390bf8cedcf391 (patch) | |
tree | 6c9dc0e43e804fa041a2e0d5c20e70678d3f898d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0ee9608c89e81a1ccee52ecb58a7ff040e2522d9 (diff) | |
download | linux-86108c2e34a26e4bec3c6ddb23390bf8cedcf391.tar.xz |
FS-Cache: Increase reference of parent after registering, netfs success
If netfs exist, fscache should not increase the reference of parent's
usage and n_children, otherwise, never be decreased.
v2: thanks David's suggest,
move increasing reference of parent if success
use kmem_cache_free() freeing primary_index directly
v3: don't move "netfs->primary_index->parent = &fscache_fsdef_index;"
Cc: stable@vger.kernel.org # v2.6.30+
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions