diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-08-08 11:25:33 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-08-30 09:19:07 +0200 |
commit | ab87118d717467cbcd9648692c2a9708d55193bc (patch) | |
tree | d4e28ead7b0192942bd9f5665ff31fc57a572e1e /fs/ubifs/io.c | |
parent | UBIFS: do not look up truncation nodes (diff) | |
download | linux-ab87118d717467cbcd9648692c2a9708d55193bc.tar.xz linux-ab87118d717467cbcd9648692c2a9708d55193bc.zip |
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>
Diffstat (limited to 'fs/ubifs/io.c')
0 files changed, 0 insertions, 0 deletions