commit | ab87118d717467cbcd9648692c2a9708d55193bc | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Sun Aug 08 12:25:33 2010 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon Aug 30 10:19:07 2010 +0300 |
tree | d4e28ead7b0192942bd9f5665ff31fc57a572e1e | |
parent | 44ec83b8bd05d323998031f141c310127721acae [diff] |
UBIFS: do not use key type in list_sort In comparison function for 'list_sort()' we use key type to distinguish between node types. However, we have a bit simper way to detect node type - 'snod->type'. This more logical to use, comparing to decoding key types. Also allows to get rid of 2 local variables. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>