UBI: bugfix - do not torture PEB needlessly

This is probably a copy-paste bug - we torture the old PEB
in the atomic LEB change function, but we should not do this.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

+1 -1
+1 -1
drivers/mtd/ubi/eba.c
··· 906 } 907 908 if (vol->eba_tbl[lnum] >= 0) { 909 - err = ubi_wl_put_peb(ubi, vol->eba_tbl[lnum], 1); 910 if (err) 911 goto out_leb_unlock; 912 }
··· 906 } 907 908 if (vol->eba_tbl[lnum] >= 0) { 909 + err = ubi_wl_put_peb(ubi, vol->eba_tbl[lnum], 0); 910 if (err) 911 goto out_leb_unlock; 912 }