From: Artem Bityutskiy Date: Tue, 26 Apr 2011 07:07:50 +0000 (+0300) Subject: UBIFS: remove dead GC LEB recovery piece of code X-Git-Tag: v3.0-rc1~317^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcdca3e10ac22c208955a63c907a0988550bc666;p=pandora-kernel.git 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 --- Reading git-diff-tree failed