summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2015-11-04 18:20:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-20 01:28:37 +0300
commit51121b4e0c37a012a909744e9bcd62509b66b17b (patch)
treee35716c45c980b3e834b93a079aa13362a8df5d2 /COPYING
parent28f946db2752d9681844bce847cebb9c438a33e0 (diff)
downloadlinux-51121b4e0c37a012a909744e9bcd62509b66b17b.tar.xz
FS-Cache: Increase reference of parent after registering, netfs success
commit 86108c2e34a26e4bec3c6ddb23390bf8cedcf391 upstream. 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;" 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions