[PATCH 0/9] XArray: several cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trivial cleanup for XArray.

No functional change.

Wei Yang (9):
  XArray: fix comment on Zero/Retry entry
  XArray: simplify the calculation of shift
  XArray: handle a NULL head by itself
  XArray: don't expect to have more nr_values than count
  XArray: entry in last level is not expected to be a node
  XArray: internal node is a xa_node when it is bigger than
    XA_ZERO_ENTRY
  XArray: the NULL xa_node condition is handled in xas_top
  XArray: take xas_error() handling for clearer logic
  XArray: adjust xa_offset till it gets the correct node

 include/linux/xarray.h |  6 +++---
 lib/xarray.c           | 31 ++++++++++++-------------------
 2 files changed, 15 insertions(+), 22 deletions(-)

-- 
2.23.0




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux