summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-26 10:07:50 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-13 19:23:55 +0300
commitbcdca3e10ac22c208955a63c907a0988550bc666 (patch)
treef6afca170ebb3024a28814af050c706888f2cfaa /arch/ia64
parent2405f5948119cdc1c28697fd3110124dad974898 (diff)
downloadtalos-op-linux-bcdca3e10ac22c208955a63c907a0988550bc666.tar.gz
talos-op-linux-bcdca3e10ac22c208955a63c907a0988550bc666.zip
UBIFS: remove dead GC LEB recovery piece of code
This patch removes a piece of code in 'ubifs_rcvry_gc_commit()' which is never executed. We call 'ubifs_find_dirty_leb()' function with min_space = wbuf->offs, so if it returns us an LEB, it is guaranteed to have at lease 'wbuf->offs' bytes of free+dirty space. So we can remove the subsequent code which deals with "returned LEB has less than 'wbuf->offs' bytes of free+dirty space". This simplifies 'ubifs_rcvry_gc_commit()' a little. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud