summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-07-14 20:52:58 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-07-20 10:27:25 +0300
commitd51f17ea0a3afe11fb4c4ad6635877e24df2758f (patch)
tree8d51473b4e2e842a5d90f762a14a3832f3a05b89 /lib/kobject.c
parent06bef9451a4c5ad882cd15fd7a0df9890c0249f3 (diff)
UBIFS: simplify reply code a bit
In the log reply code we assume that 'c->lhead_offs' is known and may be non-zero, which is not the case because we do not store it in the master node and have to find out by scanning on every mount. Knowing this fact allows us to simplify the log scanning loop a bit and remove a couple of unneeded local variables. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions