summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-02-25 15:31:37 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-27 16:37:06 -0500
commit5786ec60549961a575044e0fb81664da1f8bf225 (patch)
treeaaf9c04c58817447cfdb405df2d3e0406cfa0c34 /fs
parent56315f9e6e3a0ba0483c2e1f53333d5275268cb1 (diff)
downloadlinux-5786ec60549961a575044e0fb81664da1f8bf225.tar.gz
linux-5786ec60549961a575044e0fb81664da1f8bf225.tar.bz2
linux-5786ec60549961a575044e0fb81664da1f8bf225.zip
fib_trie: Replace plen with slen in leaf_info
This replaces the prefix length variable in the leaf_info structure with a suffix length value, or host identifier length in bits. By doing this it makes it easier to sort out since the tnodes and leaf are carrying this value as well since it is compatible with the ->pos field in tnodes. I also cleaned up one spot that had some list manipulation that could be simplified. I basically updated it so that we just use hlist_add_head_rcu instead of calling hlist_add_before_rcu on the first node in the list. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions